Skip to content

Commit

Permalink
updating license header for all files to 1 header
Browse files Browse the repository at this point in the history
Signed-off-by: kohinoor98 <[email protected]>
  • Loading branch information
kohinoor98 committed Nov 14, 2023
1 parent 4c5d3e2 commit 03c258f
Show file tree
Hide file tree
Showing 816 changed files with 0 additions and 4,080 deletions.
5 changes: 0 additions & 5 deletions cypress/support/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

// / <reference types="cypress" />

declare namespace Cypress {
Expand Down
5 changes: 0 additions & 5 deletions models/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

// TODO: Backend has PR out to change this model, this needs to be updated once that goes through

import { long } from "@opensearch-project/opensearch/api/types";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/force_merge.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { CoreSetup } from "opensearch-dashboards/public";
import { callbackForForceMerge, callbackForForceMergeTimeout } from "./force_merge";
import { coreServicesMock, httpClientMock } from "../../../test/mocks";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/force_merge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { CallbackType, TaskResult } from "../interface";
import { ForceMergeJobMetaData } from "../../models/interfaces";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/open.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { CoreSetup } from "opensearch-dashboards/public";
import { callbackForOpen, callbackForOpenTimeout } from "./open";
import { coreServicesMock, httpClientMock } from "../../../test/mocks";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/reindex.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { CoreSetup } from "opensearch-dashboards/public";
import { callbackForReindex, callbackForReindexTimeout } from "./reindex";
import { coreServicesMock, httpClientMock } from "../../../test/mocks";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/reindex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { CallbackType, TaskResult } from "../interface";
import { ReindexJobMetaData } from "../../models/interfaces";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/shrink.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { CoreSetup } from "opensearch-dashboards/public";
import { callbackForShrink, callbackForShrinkTimeout } from "./shrink";
import { coreServicesMock, httpClientMock } from "../../../test/mocks";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/shrink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { CallbackType, TaskResult } from "../interface";
import { RecoveryJobMetaData } from "../../models/interfaces";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/split.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { CoreSetup } from "opensearch-dashboards/public";
import { callbackForSplit, callbackForSplitTimeout } from "./split";
import { coreServicesMock, httpClientMock } from "../../../test/mocks";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/callbacks/split.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { CallbackType, TaskResult } from "../interface";
import { RecoveryJobMetaData } from "../../models/interfaces";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/components/DetailLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { EuiLink } from "@elastic/eui";
import { ROUTES } from "../../utils/constants";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/components/ErrorToastContentForJob.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { EuiButton, EuiSpacer, EuiText } from "@elastic/eui";
import React from "react";
import { Modal } from "../../components/Modal";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { ClusterInfo } from "../../models/interfaces";

Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/components/components.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React from "react";
import { render } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { jobSchedulerInstance } from "../context/JobSchedulerContext";
import { CoreSetup } from "../../../../src/core/public";
import { callbackForReindex, callbackForReindexTimeout } from "./callbacks/reindex";
Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { IJobItemMetadata } from "../lib/JobScheduler/interface";
import { CoreSetup } from "../../../../src/core/public";

Expand Down
5 changes: 0 additions & 5 deletions public/JobHandler/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
export const EVENT_MAP = {
REINDEX_COMPLETE: "REINDEX_COMPLETE",
SPLIT_COMPLETE: "SPLIT_COMPLETE",
Expand Down
5 changes: 0 additions & 5 deletions public/components/AdvancedSettings/AdvancedSettings.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from "react";
import { fireEvent, render } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
Expand Down
5 changes: 0 additions & 5 deletions public/components/AdvancedSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React, { forwardRef, useCallback, useImperativeHandle, useMemo, useRef } from "react";
import { EuiAccordion, EuiAccordionProps, EuiSpacer, EuiFormRowProps } from "@elastic/eui";
import SwitchableEditor, { SwitchableEditorProps, ISwitchableEditorRef } from "../SwitchableEditor";
Expand Down
5 changes: 0 additions & 5 deletions public/components/AliasSelect/AliasSelect.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React, { useState } from "react";
import { render, waitFor } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
Expand Down
5 changes: 0 additions & 5 deletions public/components/AliasSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React, { forwardRef, useRef } from "react";
import { EuiComboBoxProps } from "@elastic/eui";
import RemoteSelect, { RemoteSelectProps } from "../RemoteSelect";
Expand Down
5 changes: 0 additions & 5 deletions public/components/BottomBar/BottomBar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from "react";
import { render } from "@testing-library/react";
import BottomBar from "./BottomBar";
Expand Down
5 changes: 0 additions & 5 deletions public/components/BottomBar/BottomBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import React, { useEffect, useRef } from "react";
import { EuiBottomBar } from "@elastic/eui";

Expand Down
5 changes: 0 additions & 5 deletions public/components/BottomBar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import BottomBar from "./BottomBar";

export default BottomBar;
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from "react";
import "@testing-library/jest-dom/extend-expect";
import { render } from "@testing-library/react";
Expand Down
5 changes: 0 additions & 5 deletions public/components/ChannelNotification/ChannelNotification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React, { ChangeEvent } from "react";
import { EuiSpacer, EuiFormRow, EuiTextArea, EuiSelect, EuiButton, EuiFlexGroup, EuiFlexItem } from "@elastic/eui";
import "brace/theme/github";
Expand Down
5 changes: 0 additions & 5 deletions public/components/ChannelNotification/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import ChannelNotification from "./ChannelNotification";

export default ChannelNotification;
5 changes: 0 additions & 5 deletions public/components/ComboBoxWithoutWarning/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
import { EuiComboBox, EuiComboBoxProps } from "@elastic/eui";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { EuiBadge } from "@elastic/eui";
import React from "react";
import { IndicesUpdateMode } from "../../utils/constants";
Expand Down
5 changes: 0 additions & 5 deletions public/components/ComponentTemplateBadge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import ComponentTemplateBadge from "./ComponentTemplateBadge";

export default ComponentTemplateBadge;
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from "react";
import "@testing-library/jest-dom/extend-expect";
import { render, fireEvent } from "@testing-library/react";
Expand Down
5 changes: 0 additions & 5 deletions public/components/ConfirmationModal/ConfirmationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* permissions and limitations under the License.
*/

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import React from "react";
import {
EuiButton,
Expand Down
Loading

0 comments on commit 03c258f

Please sign in to comment.