diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index 5fdf4941..5bb8ef8d 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -1,11 +1,7 @@ -# 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. -# -# Modifications Copyright OpenSearch Contributors. See -# GitHub history for details. +## + # Copyright OpenSearch Contributors + # SPDX-License-Identifier: Apache-2.0 +## name: Test and Build Dashboards Notifications diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 209eee76..a11c7dcf 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -1,11 +1,7 @@ -# 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. -# -# Modifications Copyright OpenSearch Contributors. See -# GitHub history for details. +## + # Copyright OpenSearch Contributors + # SPDX-License-Identifier: Apache-2.0 +## name: Link Checker diff --git a/.github/workflows/notifications-test-and-build-workflow.yml b/.github/workflows/notifications-test-and-build-workflow.yml index efcaebc2..f9c69f65 100644 --- a/.github/workflows/notifications-test-and-build-workflow.yml +++ b/.github/workflows/notifications-test-and-build-workflow.yml @@ -1,25 +1,7 @@ +## + # 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. - # - # Modifications Copyright OpenSearch Contributors. See - # GitHub history for details. - - # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - # - # Licensed under the Apache License, Version 2.0 (the "License"). - # You may not use this file except in compliance with the License. - # A copy of the License is located at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # or in the "license" file accompanying this file. This file 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. - # +## name: Test and Build Notifications diff --git a/dashboards-notifications/.cypress/integration/channels.spec.js b/dashboards-notifications/.cypress/integration/channels.spec.js index e9c8a352..b87863b6 100644 --- a/dashboards-notifications/.cypress/integration/channels.spec.js +++ b/dashboards-notifications/.cypress/integration/channels.spec.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ /// diff --git a/dashboards-notifications/.cypress/integration/dashboard.spec.js b/dashboards-notifications/.cypress/integration/dashboard.spec.js index 2c82937c..8391f0cd 100644 --- a/dashboards-notifications/.cypress/integration/dashboard.spec.js +++ b/dashboards-notifications/.cypress/integration/dashboard.spec.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ /// diff --git a/dashboards-notifications/.cypress/integration/email_groups.spec.js b/dashboards-notifications/.cypress/integration/email_groups.spec.js index dd5c62d7..c6d906cd 100644 --- a/dashboards-notifications/.cypress/integration/email_groups.spec.js +++ b/dashboards-notifications/.cypress/integration/email_groups.spec.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ /// diff --git a/dashboards-notifications/.cypress/plugins/index.js b/dashboards-notifications/.cypress/plugins/index.js index af282f74..8ac1f106 100644 --- a/dashboards-notifications/.cypress/plugins/index.js +++ b/dashboards-notifications/.cypress/plugins/index.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ /// diff --git a/dashboards-notifications/.cypress/support/commands.js b/dashboards-notifications/.cypress/support/commands.js index da4674f4..6b47aeae 100644 --- a/dashboards-notifications/.cypress/support/commands.js +++ b/dashboards-notifications/.cypress/support/commands.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ const { ADMIN_AUTH } = require('./constants'); diff --git a/dashboards-notifications/.cypress/support/constants.js b/dashboards-notifications/.cypress/support/constants.js index 48ee4ff9..1001fd49 100644 --- a/dashboards-notifications/.cypress/support/constants.js +++ b/dashboards-notifications/.cypress/support/constants.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ export const ADMIN_AUTH = { diff --git a/dashboards-notifications/.cypress/support/index.js b/dashboards-notifications/.cypress/support/index.js index 66266883..e0449426 100644 --- a/dashboards-notifications/.cypress/support/index.js +++ b/dashboards-notifications/.cypress/support/index.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ // *********************************************************** diff --git a/dashboards-notifications/.cypress/utils/constants.js b/dashboards-notifications/.cypress/utils/constants.js index 7a85746d..ebab3410 100644 --- a/dashboards-notifications/.cypress/utils/constants.js +++ b/dashboards-notifications/.cypress/utils/constants.js @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ export const delay = 1000; diff --git a/dashboards-notifications/README.md b/dashboards-notifications/README.md index 14e46222..f8aa9c83 100644 --- a/dashboards-notifications/README.md +++ b/dashboards-notifications/README.md @@ -62,4 +62,4 @@ This code is licensed under the Apache 2.0 License. ## Copyright -Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright OpenSearch Contributors. See [NOTICE](../NOTICE) for details. diff --git a/dashboards-notifications/common/index.ts b/dashboards-notifications/common/index.ts index 7e21d851..577759e2 100644 --- a/dashboards-notifications/common/index.ts +++ b/dashboards-notifications/common/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ export const PLUGIN_ID = 'notificationsDashboards'; diff --git a/dashboards-notifications/models/interfaces.ts b/dashboards-notifications/models/interfaces.ts index 25e12b16..dd5a2c7c 100644 --- a/dashboards-notifications/models/interfaces.ts +++ b/dashboards-notifications/models/interfaces.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { Direction } from '@elastic/eui'; diff --git a/dashboards-notifications/public/application.tsx b/dashboards-notifications/public/application.tsx index d65b3ac4..669de013 100644 --- a/dashboards-notifications/public/application.tsx +++ b/dashboards-notifications/public/application.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React from 'react'; diff --git a/dashboards-notifications/public/components/ContentPanel/ContentPanel.tsx b/dashboards-notifications/public/components/ContentPanel/ContentPanel.tsx index 082a6277..a6660e2b 100644 --- a/dashboards-notifications/public/components/ContentPanel/ContentPanel.tsx +++ b/dashboards-notifications/public/components/ContentPanel/ContentPanel.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/components/ContentPanel/ContentPanelActions.tsx b/dashboards-notifications/public/components/ContentPanel/ContentPanelActions.tsx index 085d243a..ca1aa29d 100644 --- a/dashboards-notifications/public/components/ContentPanel/ContentPanelActions.tsx +++ b/dashboards-notifications/public/components/ContentPanel/ContentPanelActions.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React from 'react'; diff --git a/dashboards-notifications/public/components/ContentPanel/index.ts b/dashboards-notifications/public/components/ContentPanel/index.ts index 38f8f468..e8b30113 100644 --- a/dashboards-notifications/public/components/ContentPanel/index.ts +++ b/dashboards-notifications/public/components/ContentPanel/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import ContentPanel from './ContentPanel'; diff --git a/dashboards-notifications/public/components/Modal/Modal.tsx b/dashboards-notifications/public/components/Modal/Modal.tsx index fec9433d..5f906291 100644 --- a/dashboards-notifications/public/components/Modal/Modal.tsx +++ b/dashboards-notifications/public/components/Modal/Modal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React, { Component, createContext } from 'react'; diff --git a/dashboards-notifications/public/components/Modal/ModalRoot.tsx b/dashboards-notifications/public/components/Modal/ModalRoot.tsx index 19eaa07e..e39040a3 100644 --- a/dashboards-notifications/public/components/Modal/ModalRoot.tsx +++ b/dashboards-notifications/public/components/Modal/ModalRoot.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React, { ComponentType } from 'react'; diff --git a/dashboards-notifications/public/components/Modal/index.ts b/dashboards-notifications/public/components/Modal/index.ts index 530cc378..2e7b7d53 100644 --- a/dashboards-notifications/public/components/Modal/index.ts +++ b/dashboards-notifications/public/components/Modal/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { ModalConsumer, ModalProvider } from './Modal'; diff --git a/dashboards-notifications/public/components/__tests__/ContentPanel.test.tsx b/dashboards-notifications/public/components/__tests__/ContentPanel.test.tsx index 4e6c9395..f1c35e23 100644 --- a/dashboards-notifications/public/components/__tests__/ContentPanel.test.tsx +++ b/dashboards-notifications/public/components/__tests__/ContentPanel.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React from 'react'; diff --git a/dashboards-notifications/public/components/__tests__/ContentPanelActions.test.tsx b/dashboards-notifications/public/components/__tests__/ContentPanelActions.test.tsx index 7d9e0ab4..58a55e9c 100644 --- a/dashboards-notifications/public/components/__tests__/ContentPanelActions.test.tsx +++ b/dashboards-notifications/public/components/__tests__/ContentPanelActions.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React from 'react'; diff --git a/dashboards-notifications/public/components/__tests__/Modal.test.tsx b/dashboards-notifications/public/components/__tests__/Modal.test.tsx index ad0346d1..9b74e2c4 100644 --- a/dashboards-notifications/public/components/__tests__/Modal.test.tsx +++ b/dashboards-notifications/public/components/__tests__/Modal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import React from 'react'; diff --git a/dashboards-notifications/public/components/coreServices.tsx b/dashboards-notifications/public/components/coreServices.tsx index 65b3f310..de1d49c6 100644 --- a/dashboards-notifications/public/components/coreServices.tsx +++ b/dashboards-notifications/public/components/coreServices.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { createContext } from 'react'; diff --git a/dashboards-notifications/public/index.ts b/dashboards-notifications/public/index.ts index 647b9044..36345985 100644 --- a/dashboards-notifications/public/index.ts +++ b/dashboards-notifications/public/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import './index.scss'; diff --git a/dashboards-notifications/public/models/interfaces.ts b/dashboards-notifications/public/models/interfaces.ts index 3fe7814d..03c7ffee 100644 --- a/dashboards-notifications/public/models/interfaces.ts +++ b/dashboards-notifications/public/models/interfaces.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { NotificationService } from '../services'; diff --git a/dashboards-notifications/public/pages/Channels/Channels.tsx b/dashboards-notifications/public/pages/Channels/Channels.tsx index 46e7ddea..7e90eba1 100644 --- a/dashboards-notifications/public/pages/Channels/Channels.tsx +++ b/dashboards-notifications/public/pages/Channels/Channels.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/__tests__/ChannelActions.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/ChannelActions.test.tsx index 0a977620..a39acd41 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/ChannelActions.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/ChannelActions.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/ChannelControls.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/ChannelControls.test.tsx index aea80d0a..e42cda97 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/ChannelControls.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/ChannelControls.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetails.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetails.test.tsx index 2b021dc6..5ebcacb1 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetails.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetails.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetailsActions.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetailsActions.test.tsx index 08aaad3e..f1224188 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetailsActions.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/ChannelDetailsActions.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/ChannelSettingsDetails.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/ChannelSettingsDetails.test.tsx index 1c1ba600..6d0abda9 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/ChannelSettingsDetails.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/ChannelSettingsDetails.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/Channels.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/Channels.test.tsx index af1cc9e2..b4ef044e 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/Channels.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/Channels.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/DeleteChannelModal.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/DeleteChannelModal.test.tsx index 041d64bb..63aac918 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/DeleteChannelModal.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/DeleteChannelModal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/DetailsListModal.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/DetailsListModal.test.tsx index db39eacf..0e97ffb5 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/DetailsListModal.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/DetailsListModal.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/DetailsTableModal.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/DetailsTableModal.test.tsx index 79758014..5a455a10 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/DetailsTableModal.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/DetailsTableModal.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { configure, mount } from 'enzyme'; diff --git a/dashboards-notifications/public/pages/Channels/__tests__/MuteChannelModal.test.tsx b/dashboards-notifications/public/pages/Channels/__tests__/MuteChannelModal.test.tsx index 6c4ceadd..19eaf7e5 100644 --- a/dashboards-notifications/public/pages/Channels/__tests__/MuteChannelModal.test.tsx +++ b/dashboards-notifications/public/pages/Channels/__tests__/MuteChannelModal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { MOCK_DATA } from '../../../../test/mocks/mockData'; diff --git a/dashboards-notifications/public/pages/Channels/components/ChannelActions.tsx b/dashboards-notifications/public/pages/Channels/components/ChannelActions.tsx index 6b4ce4eb..f74e74b8 100644 --- a/dashboards-notifications/public/pages/Channels/components/ChannelActions.tsx +++ b/dashboards-notifications/public/pages/Channels/components/ChannelActions.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiButton, EuiContextMenuItem, EuiPopover } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Channels/components/ChannelControls.tsx b/dashboards-notifications/public/pages/Channels/components/ChannelControls.tsx index 2ea851b3..a562e93d 100644 --- a/dashboards-notifications/public/pages/Channels/components/ChannelControls.tsx +++ b/dashboards-notifications/public/pages/Channels/components/ChannelControls.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailItems.tsx b/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailItems.tsx index b745e200..d66ada75 100644 --- a/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailItems.tsx +++ b/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailItems.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/details/ChannelDetails.tsx b/dashboards-notifications/public/pages/Channels/components/details/ChannelDetails.tsx index 1e8658c7..f7d6ca51 100644 --- a/dashboards-notifications/public/pages/Channels/components/details/ChannelDetails.tsx +++ b/dashboards-notifications/public/pages/Channels/components/details/ChannelDetails.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailsActions.tsx b/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailsActions.tsx index 7e507ee3..d37a5000 100644 --- a/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailsActions.tsx +++ b/dashboards-notifications/public/pages/Channels/components/details/ChannelDetailsActions.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/details/ChannelSettingsDetails.tsx b/dashboards-notifications/public/pages/Channels/components/details/ChannelSettingsDetails.tsx index f6dd83bc..ad8f4756 100644 --- a/dashboards-notifications/public/pages/Channels/components/details/ChannelSettingsDetails.tsx +++ b/dashboards-notifications/public/pages/Channels/components/details/ChannelSettingsDetails.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiLink } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Channels/components/modals/DeleteChannelModal.tsx b/dashboards-notifications/public/pages/Channels/components/modals/DeleteChannelModal.tsx index 0fc73da0..1ab66e7e 100644 --- a/dashboards-notifications/public/pages/Channels/components/modals/DeleteChannelModal.tsx +++ b/dashboards-notifications/public/pages/Channels/components/modals/DeleteChannelModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/modals/DetailsListModal.tsx b/dashboards-notifications/public/pages/Channels/components/modals/DetailsListModal.tsx index 28f17fd3..fc590001 100644 --- a/dashboards-notifications/public/pages/Channels/components/modals/DetailsListModal.tsx +++ b/dashboards-notifications/public/pages/Channels/components/modals/DetailsListModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/modals/DetailsTableModal.tsx b/dashboards-notifications/public/pages/Channels/components/modals/DetailsTableModal.tsx index 5c44c7ab..11ee09ac 100644 --- a/dashboards-notifications/public/pages/Channels/components/modals/DetailsTableModal.tsx +++ b/dashboards-notifications/public/pages/Channels/components/modals/DetailsTableModal.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Channels/components/modals/MuteChannelModal.tsx b/dashboards-notifications/public/pages/Channels/components/modals/MuteChannelModal.tsx index 41a7b588..3a0d7fce 100644 --- a/dashboards-notifications/public/pages/Channels/components/modals/MuteChannelModal.tsx +++ b/dashboards-notifications/public/pages/Channels/components/modals/MuteChannelModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Channels/types.ts b/dashboards-notifications/public/pages/Channels/types.ts index a84833ff..d8f9c65a 100644 --- a/dashboards-notifications/public/pages/Channels/types.ts +++ b/dashboards-notifications/public/pages/Channels/types.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ export interface ListItemType { diff --git a/dashboards-notifications/public/pages/CreateChannel/CreateChannel.tsx b/dashboards-notifications/public/pages/CreateChannel/CreateChannel.tsx index cb468f19..28d40d77 100644 --- a/dashboards-notifications/public/pages/CreateChannel/CreateChannel.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/CreateChannel.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelAvailabilityPanel.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelAvailabilityPanel.test.tsx index d1f819e8..b57d3d31 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelAvailabilityPanel.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelAvailabilityPanel.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelNamePanel.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelNamePanel.test.tsx index 3bf46ff9..1ac31d04 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelNamePanel.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/ChannelNamePanel.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/ChimeSettings.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/ChimeSettings.test.tsx index 2e034689..50270c5b 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/ChimeSettings.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/ChimeSettings.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateChannel.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateChannel.test.tsx index efef1db1..b972770b 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateChannel.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateChannel.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateRecipientGroupModal.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateRecipientGroupModal.test.tsx index 9b94e391..c7e3c7ee 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateRecipientGroupModal.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateRecipientGroupModal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSESSenderModal.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSESSenderModal.test.tsx index 2c6774db..64a30448 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSESSenderModal.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSESSenderModal.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSenderModal.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSenderModal.test.tsx index eca27a11..854a8559 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSenderModal.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/CreateSenderModal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/CustomWebhookSettings.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/CustomWebhookSettings.test.tsx index 2bf7e050..fdff5702 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/CustomWebhookSettings.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/CustomWebhookSettings.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/EmailSettings.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/EmailSettings.test.tsx index 0841e1c2..88594c46 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/EmailSettings.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/EmailSettings.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/SNSSettings.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/SNSSettings.test.tsx index ec99acb2..ac40d658 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/SNSSettings.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/SNSSettings.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/SlackSettings.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/SlackSettings.test.tsx index aa2b4f23..7b6d31ab 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/SlackSettings.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/SlackSettings.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/WebhookHeaders.test.tsx b/dashboards-notifications/public/pages/CreateChannel/__tests__/WebhookHeaders.test.tsx index 7ecb4ef2..bac6504c 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/WebhookHeaders.test.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/WebhookHeaders.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/helper.test.ts b/dashboards-notifications/public/pages/CreateChannel/__tests__/helper.test.ts index 21c5e1f7..0f1a88a5 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/helper.test.ts +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/helper.test.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { ChannelItemType } from '../../../../models/interfaces'; diff --git a/dashboards-notifications/public/pages/CreateChannel/__tests__/validationHelper.test.ts b/dashboards-notifications/public/pages/CreateChannel/__tests__/validationHelper.test.ts index fe2f44a3..832088a4 100644 --- a/dashboards-notifications/public/pages/CreateChannel/__tests__/validationHelper.test.ts +++ b/dashboards-notifications/public/pages/CreateChannel/__tests__/validationHelper.test.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/ChannelAvailabilityPanel.tsx b/dashboards-notifications/public/pages/CreateChannel/components/ChannelAvailabilityPanel.tsx index e341ee23..c0bb586f 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/ChannelAvailabilityPanel.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/ChannelAvailabilityPanel.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/ChannelNamePanel.tsx b/dashboards-notifications/public/pages/CreateChannel/components/ChannelNamePanel.tsx index 9f37b0dc..b034e972 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/ChannelNamePanel.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/ChannelNamePanel.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiFieldText, EuiFormRow, EuiTextArea } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/CreateChannel/components/ChimeSettings.tsx b/dashboards-notifications/public/pages/CreateChannel/components/ChimeSettings.tsx index d661a58a..edf75305 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/ChimeSettings.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/ChimeSettings.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiFieldText, EuiFormRow } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/CreateChannel/components/CustomWebhookSettings.tsx b/dashboards-notifications/public/pages/CreateChannel/components/CustomWebhookSettings.tsx index 9a9a92d0..d348f5fa 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/CustomWebhookSettings.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/CustomWebhookSettings.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/EmailSettings.tsx b/dashboards-notifications/public/pages/CreateChannel/components/EmailSettings.tsx index 1a6a9458..7c1e7c09 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/EmailSettings.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/EmailSettings.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/SNSSettings.tsx b/dashboards-notifications/public/pages/CreateChannel/components/SNSSettings.tsx index e7c5e7fb..870c9468 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/SNSSettings.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/SNSSettings.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/SlackSettings.tsx b/dashboards-notifications/public/pages/CreateChannel/components/SlackSettings.tsx index a2b4bfbf..9ca0c961 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/SlackSettings.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/SlackSettings.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiFieldText, EuiFormRow } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/CreateChannel/components/WebhookHeaders.tsx b/dashboards-notifications/public/pages/CreateChannel/components/WebhookHeaders.tsx index 9bb75729..a7616d40 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/WebhookHeaders.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/WebhookHeaders.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateRecipientGroupModal.tsx b/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateRecipientGroupModal.tsx index 433be3b2..716ee0d6 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateRecipientGroupModal.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateRecipientGroupModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSESSenderModal.tsx b/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSESSenderModal.tsx index bed9cd4a..cc33cf66 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSESSenderModal.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSESSenderModal.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSenderModal.tsx b/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSenderModal.tsx index cf8d3f61..35580205 100644 --- a/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSenderModal.tsx +++ b/dashboards-notifications/public/pages/CreateChannel/components/modals/CreateSenderModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/CreateChannel/utils/helper.ts b/dashboards-notifications/public/pages/CreateChannel/utils/helper.ts index 5b993af2..cfa26c80 100644 --- a/dashboards-notifications/public/pages/CreateChannel/utils/helper.ts +++ b/dashboards-notifications/public/pages/CreateChannel/utils/helper.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { EuiComboBoxOptionOption } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/CreateChannel/utils/validationHelper.ts b/dashboards-notifications/public/pages/CreateChannel/utils/validationHelper.ts index e10c4570..ea03b3a9 100644 --- a/dashboards-notifications/public/pages/CreateChannel/utils/validationHelper.ts +++ b/dashboards-notifications/public/pages/CreateChannel/utils/validationHelper.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiComboBoxOptionOption } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Emails/CreateRecipientGroup.tsx b/dashboards-notifications/public/pages/Emails/CreateRecipientGroup.tsx index b0d1df8e..cf8386bf 100644 --- a/dashboards-notifications/public/pages/Emails/CreateRecipientGroup.tsx +++ b/dashboards-notifications/public/pages/Emails/CreateRecipientGroup.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/CreateSESSender.tsx b/dashboards-notifications/public/pages/Emails/CreateSESSender.tsx index 71c67aef..61603309 100644 --- a/dashboards-notifications/public/pages/Emails/CreateSESSender.tsx +++ b/dashboards-notifications/public/pages/Emails/CreateSESSender.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Emails/CreateSender.tsx b/dashboards-notifications/public/pages/Emails/CreateSender.tsx index 21b92a2a..08053c1b 100644 --- a/dashboards-notifications/public/pages/Emails/CreateSender.tsx +++ b/dashboards-notifications/public/pages/Emails/CreateSender.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/EmailGroups.tsx b/dashboards-notifications/public/pages/Emails/EmailGroups.tsx index 5b124f8c..551bede3 100644 --- a/dashboards-notifications/public/pages/Emails/EmailGroups.tsx +++ b/dashboards-notifications/public/pages/Emails/EmailGroups.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Emails/EmailSenders.tsx b/dashboards-notifications/public/pages/Emails/EmailSenders.tsx index 245d36b7..a452859d 100644 --- a/dashboards-notifications/public/pages/Emails/EmailSenders.tsx +++ b/dashboards-notifications/public/pages/Emails/EmailSenders.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { EuiSpacer, EuiTitle } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroup.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroup.test.tsx index 4d5c4107..8b24b008 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroup.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroup.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { MOCK_DATA } from '../../../../test/mocks/mockData'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroupForm.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroupForm.test.tsx index 0a554d54..8f5d1a96 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroupForm.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/CreateRecipientGroupForm.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSender.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSender.test.tsx index d699f33f..a23ac5a2 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSender.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSender.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSenderForm.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSenderForm.test.tsx index 78958222..8cf8a11d 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSenderForm.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/CreateSESSenderForm.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/CreateSender.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/CreateSender.test.tsx index 379081cc..99707ebf 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/CreateSender.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/CreateSender.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/CreateSenderForm.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/CreateSenderForm.test.tsx index feea89b6..a226eac1 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/CreateSenderForm.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/CreateSenderForm.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/DeleteRecipientGroupModal.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/DeleteRecipientGroupModal.test.tsx index dd535131..797accf6 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/DeleteRecipientGroupModal.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/DeleteRecipientGroupModal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/DeleteSenderModal.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/DeleteSenderModal.test.tsx index 72df8f7d..8d8725af 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/DeleteSenderModal.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/DeleteSenderModal.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/EmailGroups.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/EmailGroups.test.tsx index 5ee4324b..f6e5449e 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/EmailGroups.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/EmailGroups.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/EmailSenders.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/EmailSenders.test.tsx index 6dd8208c..b4f01b59 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/EmailSenders.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/EmailSenders.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/RecipientGroupsTable.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/RecipientGroupsTable.test.tsx index ffcfef53..a69755c0 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/RecipientGroupsTable.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/RecipientGroupsTable.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/SendersTable.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/SendersTable.test.tsx index c688c4c2..c706308f 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/SendersTable.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/SendersTable.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render, waitFor } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/SendersTableControls.test.tsx b/dashboards-notifications/public/pages/Emails/__tests__/SendersTableControls.test.tsx index 55a7cc1e..b4f5a3e9 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/SendersTableControls.test.tsx +++ b/dashboards-notifications/public/pages/Emails/__tests__/SendersTableControls.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Emails/__tests__/helper.test.ts b/dashboards-notifications/public/pages/Emails/__tests__/helper.test.ts index 831828ca..ca9f2049 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/helper.test.ts +++ b/dashboards-notifications/public/pages/Emails/__tests__/helper.test.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Emails/__tests__/validationHelper.test.ts b/dashboards-notifications/public/pages/Emails/__tests__/validationHelper.test.ts index 180e7ce3..d528897c 100644 --- a/dashboards-notifications/public/pages/Emails/__tests__/validationHelper.test.ts +++ b/dashboards-notifications/public/pages/Emails/__tests__/validationHelper.test.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/forms/CreateRecipientGroupForm.tsx b/dashboards-notifications/public/pages/Emails/components/forms/CreateRecipientGroupForm.tsx index 0b4e2dff..c6ec50e3 100644 --- a/dashboards-notifications/public/pages/Emails/components/forms/CreateRecipientGroupForm.tsx +++ b/dashboards-notifications/public/pages/Emails/components/forms/CreateRecipientGroupForm.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/forms/CreateSESSenderForm.tsx b/dashboards-notifications/public/pages/Emails/components/forms/CreateSESSenderForm.tsx index 4ad634bb..c533c947 100644 --- a/dashboards-notifications/public/pages/Emails/components/forms/CreateSESSenderForm.tsx +++ b/dashboards-notifications/public/pages/Emails/components/forms/CreateSESSenderForm.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/forms/CreateSenderForm.tsx b/dashboards-notifications/public/pages/Emails/components/forms/CreateSenderForm.tsx index 4bce9141..21ae931e 100644 --- a/dashboards-notifications/public/pages/Emails/components/forms/CreateSenderForm.tsx +++ b/dashboards-notifications/public/pages/Emails/components/forms/CreateSenderForm.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/modals/DeleteRecipientGroupModal.tsx b/dashboards-notifications/public/pages/Emails/components/modals/DeleteRecipientGroupModal.tsx index 24dd666b..3ecaf1e9 100644 --- a/dashboards-notifications/public/pages/Emails/components/modals/DeleteRecipientGroupModal.tsx +++ b/dashboards-notifications/public/pages/Emails/components/modals/DeleteRecipientGroupModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { SERVER_DELAY } from '../../../../../common'; diff --git a/dashboards-notifications/public/pages/Emails/components/modals/DeleteSenderModal.tsx b/dashboards-notifications/public/pages/Emails/components/modals/DeleteSenderModal.tsx index 64c649b2..5ed2899a 100644 --- a/dashboards-notifications/public/pages/Emails/components/modals/DeleteSenderModal.tsx +++ b/dashboards-notifications/public/pages/Emails/components/modals/DeleteSenderModal.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/tables/RecipientGroupsTable.tsx b/dashboards-notifications/public/pages/Emails/components/tables/RecipientGroupsTable.tsx index 84ac2b0d..36bc8081 100644 --- a/dashboards-notifications/public/pages/Emails/components/tables/RecipientGroupsTable.tsx +++ b/dashboards-notifications/public/pages/Emails/components/tables/RecipientGroupsTable.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/tables/SESSendersTable.tsx b/dashboards-notifications/public/pages/Emails/components/tables/SESSendersTable.tsx index ef7eb717..e7a5bd9d 100644 --- a/dashboards-notifications/public/pages/Emails/components/tables/SESSendersTable.tsx +++ b/dashboards-notifications/public/pages/Emails/components/tables/SESSendersTable.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/tables/SendersTable.tsx b/dashboards-notifications/public/pages/Emails/components/tables/SendersTable.tsx index 72c96ee9..fb715645 100644 --- a/dashboards-notifications/public/pages/Emails/components/tables/SendersTable.tsx +++ b/dashboards-notifications/public/pages/Emails/components/tables/SendersTable.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Emails/components/tables/SendersTableControls.tsx b/dashboards-notifications/public/pages/Emails/components/tables/SendersTableControls.tsx index 0a7344bd..15e6d995 100644 --- a/dashboards-notifications/public/pages/Emails/components/tables/SendersTableControls.tsx +++ b/dashboards-notifications/public/pages/Emails/components/tables/SendersTableControls.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/pages/Emails/utils/helper.ts b/dashboards-notifications/public/pages/Emails/utils/helper.ts index 9117271f..766a2d5c 100644 --- a/dashboards-notifications/public/pages/Emails/utils/helper.ts +++ b/dashboards-notifications/public/pages/Emails/utils/helper.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { EuiComboBoxOptionOption } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Emails/utils/validationHelper.ts b/dashboards-notifications/public/pages/Emails/utils/validationHelper.ts index bd8a37b3..6284fbc2 100644 --- a/dashboards-notifications/public/pages/Emails/utils/validationHelper.ts +++ b/dashboards-notifications/public/pages/Emails/utils/validationHelper.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiComboBoxOptionOption } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Main/Main.tsx b/dashboards-notifications/public/pages/Main/Main.tsx index def10329..faa135c0 100644 --- a/dashboards-notifications/public/pages/Main/Main.tsx +++ b/dashboards-notifications/public/pages/Main/Main.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiPage, EuiPageBody, EuiPageSideBar, EuiSideNav } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Main/__tests__/Main.test.tsx b/dashboards-notifications/public/pages/Main/__tests__/Main.test.tsx index 88c291ce..3b5772aa 100644 --- a/dashboards-notifications/public/pages/Main/__tests__/Main.test.tsx +++ b/dashboards-notifications/public/pages/Main/__tests__/Main.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Main/index.ts b/dashboards-notifications/public/pages/Main/index.ts index ab0ac44b..65d8003e 100644 --- a/dashboards-notifications/public/pages/Main/index.ts +++ b/dashboards-notifications/public/pages/Main/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import Main from './Main'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/AddFilterButton.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/AddFilterButton.test.tsx index 5d6eaea1..b272bb65 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/AddFilterButton.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/AddFilterButton.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/EmptyState.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/EmptyState.test.tsx index 112411f6..5a8d9511 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/EmptyState.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/EmptyState.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/FilterEditPopover.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/FilterEditPopover.test.tsx index 61bca4fa..9b63e8e2 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/FilterEditPopover.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/FilterEditPopover.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/Filters.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/Filters.test.tsx index a02710d9..576b3081 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/Filters.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/Filters.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/GlobalFilterButton.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/GlobalFilterButton.test.tsx index 8b15b331..b9f97df4 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/GlobalFilterButton.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/GlobalFilterButton.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/HistogramControls.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/HistogramControls.test.tsx index 20c87f51..63bf42f2 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/HistogramControls.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/HistogramControls.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/Notifications.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/Notifications.test.tsx index 9487f69f..90d71bc8 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/Notifications.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/Notifications.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsHistogram.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsHistogram.test.tsx index 06a3a866..d1142cff 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsHistogram.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsHistogram.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsSearchBar.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsSearchBar.test.tsx index fb4b892b..2f89eb79 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsSearchBar.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsSearchBar.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsTable.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsTable.test.tsx index 80066d44..ff6e29a2 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsTable.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/NotificationsTable.test.tsx @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { EuiTableSortingType } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/TableFlyout.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/TableFlyout.test.tsx index 9f5150a5..1aa9a60a 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/TableFlyout.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/TableFlyout.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/__tests__/filterHelpers.test.tsx b/dashboards-notifications/public/pages/Notifications/__tests__/filterHelpers.test.tsx index aed45362..fb036d76 100644 --- a/dashboards-notifications/public/pages/Notifications/__tests__/filterHelpers.test.tsx +++ b/dashboards-notifications/public/pages/Notifications/__tests__/filterHelpers.test.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { fireEvent, render } from '@testing-library/react'; diff --git a/dashboards-notifications/public/pages/Notifications/components/EmptyState/EmptyState.tsx b/dashboards-notifications/public/pages/Notifications/components/EmptyState/EmptyState.tsx index 23cc35c0..fe9e6ad6 100644 --- a/dashboards-notifications/public/pages/Notifications/components/EmptyState/EmptyState.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/EmptyState/EmptyState.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiButton, EuiEmptyPrompt, EuiLink, EuiText } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/HistogramControls.tsx b/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/HistogramControls.tsx index 451542f5..38f3b63a 100644 --- a/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/HistogramControls.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/HistogramControls.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { HISTOGRAM_TYPE } from '../../../../utils/constants'; diff --git a/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/NotificationsHistogram.tsx b/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/NotificationsHistogram.tsx index 738bf7c0..27271d03 100644 --- a/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/NotificationsHistogram.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/NotificationsHistogram/NotificationsHistogram.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/ChannelCard.tsx b/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/ChannelCard.tsx index 119bd7c6..e635f9e3 100644 --- a/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/ChannelCard.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/ChannelCard.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/TableFlyout.tsx b/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/TableFlyout.tsx index 7335878b..21ce0742 100644 --- a/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/TableFlyout.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/Flyout/TableFlyout.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/NotificationsTable.tsx b/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/NotificationsTable.tsx index e9052871..e1d8dcff 100644 --- a/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/NotificationsTable.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/NotificationsTable/NotificationsTable.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/AddFilterButton.tsx b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/AddFilterButton.tsx index a62ab498..f49a030e 100644 --- a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/AddFilterButton.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/AddFilterButton.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiButtonEmpty, EuiPopover, EuiPopoverTitle } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/FilterEditPopover.tsx b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/FilterEditPopover.tsx index 7f633abf..005fc6f3 100644 --- a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/FilterEditPopover.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/FilterEditPopover.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/Filters.tsx b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/Filters.tsx index b861a651..4a2e51a1 100644 --- a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/Filters.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/Filters.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/GlobalFilterButton.tsx b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/GlobalFilterButton.tsx index a91a076c..6fb19942 100644 --- a/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/GlobalFilterButton.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter/GlobalFilterButton.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/SearchBar/NotificationsSearchBar.tsx b/dashboards-notifications/public/pages/Notifications/components/SearchBar/NotificationsSearchBar.tsx index 8b4480af..ec49dc6b 100644 --- a/dashboards-notifications/public/pages/Notifications/components/SearchBar/NotificationsSearchBar.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/SearchBar/NotificationsSearchBar.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/pages/Notifications/components/SearchBar/utils/filterHelpers.tsx b/dashboards-notifications/public/pages/Notifications/components/SearchBar/utils/filterHelpers.tsx index 767e6d2e..4421567a 100644 --- a/dashboards-notifications/public/pages/Notifications/components/SearchBar/utils/filterHelpers.tsx +++ b/dashboards-notifications/public/pages/Notifications/components/SearchBar/utils/filterHelpers.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { EuiComboBox, EuiFieldText, EuiFormRow, EuiSpacer } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Notifications/containers/Notifications.tsx b/dashboards-notifications/public/pages/Notifications/containers/Notifications.tsx index e2029146..cc941f9a 100644 --- a/dashboards-notifications/public/pages/Notifications/containers/Notifications.tsx +++ b/dashboards-notifications/public/pages/Notifications/containers/Notifications.tsx @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { Datum } from '@elastic/charts'; diff --git a/dashboards-notifications/public/pages/Notifications/containers/index.ts b/dashboards-notifications/public/pages/Notifications/containers/index.ts index afdce5e9..7fb09198 100644 --- a/dashboards-notifications/public/pages/Notifications/containers/index.ts +++ b/dashboards-notifications/public/pages/Notifications/containers/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import Notifications from './Notifications'; diff --git a/dashboards-notifications/public/pages/Notifications/index.ts b/dashboards-notifications/public/pages/Notifications/index.ts index a97cc7b5..71317ff2 100644 --- a/dashboards-notifications/public/pages/Notifications/index.ts +++ b/dashboards-notifications/public/pages/Notifications/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import Notifications from './containers/Notifications'; diff --git a/dashboards-notifications/public/pages/Notifications/utils/__tests__/helpers.test.ts b/dashboards-notifications/public/pages/Notifications/utils/__tests__/helpers.test.ts index 29058570..0d3bd68e 100644 --- a/dashboards-notifications/public/pages/Notifications/utils/__tests__/helpers.test.ts +++ b/dashboards-notifications/public/pages/Notifications/utils/__tests__/helpers.test.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { DEFAULT_QUERY_PARAMS } from '../constants'; diff --git a/dashboards-notifications/public/pages/Notifications/utils/constants.ts b/dashboards-notifications/public/pages/Notifications/utils/constants.ts index db12d4f7..0bf5c183 100644 --- a/dashboards-notifications/public/pages/Notifications/utils/constants.ts +++ b/dashboards-notifications/public/pages/Notifications/utils/constants.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { SortDirection } from '@elastic/eui'; diff --git a/dashboards-notifications/public/pages/Notifications/utils/helpers.ts b/dashboards-notifications/public/pages/Notifications/utils/helpers.ts index e710ddb1..09cd7fd4 100644 --- a/dashboards-notifications/public/pages/Notifications/utils/helpers.ts +++ b/dashboards-notifications/public/pages/Notifications/utils/helpers.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { Direction, ShortDate } from '@elastic/eui'; diff --git a/dashboards-notifications/public/plugin.ts b/dashboards-notifications/public/plugin.ts index c7f2b6c6..6e71895e 100644 --- a/dashboards-notifications/public/plugin.ts +++ b/dashboards-notifications/public/plugin.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { diff --git a/dashboards-notifications/public/services/EventService.ts b/dashboards-notifications/public/services/EventService.ts index 3d849e31..94717e94 100644 --- a/dashboards-notifications/public/services/EventService.ts +++ b/dashboards-notifications/public/services/EventService.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { HttpFetchQuery, HttpSetup } from '../../../../src/core/public'; diff --git a/dashboards-notifications/public/services/NotificationService.ts b/dashboards-notifications/public/services/NotificationService.ts index 9b4bff69..81b58283 100644 --- a/dashboards-notifications/public/services/NotificationService.ts +++ b/dashboards-notifications/public/services/NotificationService.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { SortDirection } from '@elastic/eui'; diff --git a/dashboards-notifications/public/services/index.ts b/dashboards-notifications/public/services/index.ts index caa431bc..77d824d6 100644 --- a/dashboards-notifications/public/services/index.ts +++ b/dashboards-notifications/public/services/index.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import EventService from './EventService'; diff --git a/dashboards-notifications/public/services/services.ts b/dashboards-notifications/public/services/services.ts index 5862afc5..f2521599 100644 --- a/dashboards-notifications/public/services/services.ts +++ b/dashboards-notifications/public/services/services.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { createContext } from 'react'; diff --git a/dashboards-notifications/public/services/utils/helper.ts b/dashboards-notifications/public/services/utils/helper.ts index 9b320dc5..2c2e509e 100644 --- a/dashboards-notifications/public/services/utils/helper.ts +++ b/dashboards-notifications/public/services/utils/helper.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/public/types.ts b/dashboards-notifications/public/types.ts index 42c9ac88..5f7eec2a 100644 --- a/dashboards-notifications/public/types.ts +++ b/dashboards-notifications/public/types.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { NavigationPublicPluginStart } from '../../../src/plugins/navigation/public'; diff --git a/dashboards-notifications/public/utils/__tests__/helper.test.ts b/dashboards-notifications/public/utils/__tests__/helper.test.ts index 69cf080e..5e5980dc 100644 --- a/dashboards-notifications/public/utils/__tests__/helper.test.ts +++ b/dashboards-notifications/public/utils/__tests__/helper.test.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { getErrorMessage, renderTime } from '../helpers'; diff --git a/dashboards-notifications/public/utils/constants.ts b/dashboards-notifications/public/utils/constants.ts index 5f6b1d5b..aed0abd9 100644 --- a/dashboards-notifications/public/utils/constants.ts +++ b/dashboards-notifications/public/utils/constants.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ export const DOCUMENTATION_LINK = ''; diff --git a/dashboards-notifications/public/utils/helpers.ts b/dashboards-notifications/public/utils/helpers.ts index 28301fc6..5fee9959 100644 --- a/dashboards-notifications/public/utils/helpers.ts +++ b/dashboards-notifications/public/utils/helpers.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import moment from 'moment'; diff --git a/dashboards-notifications/server/clusters/notificationsPlugin.ts b/dashboards-notifications/server/clusters/notificationsPlugin.ts index 1b8446f8..0dc0eadd 100644 --- a/dashboards-notifications/server/clusters/notificationsPlugin.ts +++ b/dashboards-notifications/server/clusters/notificationsPlugin.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { OPENSEARCH_API } from '../../common'; diff --git a/dashboards-notifications/server/routes/configRoutes.ts b/dashboards-notifications/server/routes/configRoutes.ts index 40e72e90..b340a011 100644 --- a/dashboards-notifications/server/routes/configRoutes.ts +++ b/dashboards-notifications/server/routes/configRoutes.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { schema } from '@osd/config-schema'; diff --git a/dashboards-notifications/server/routes/eventRoutes.ts b/dashboards-notifications/server/routes/eventRoutes.ts index 29b8eafa..b87b1516 100644 --- a/dashboards-notifications/server/routes/eventRoutes.ts +++ b/dashboards-notifications/server/routes/eventRoutes.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { schema } from '@osd/config-schema'; diff --git a/dashboards-notifications/server/routes/index.ts b/dashboards-notifications/server/routes/index.ts index b571d953..c1db4f9f 100644 --- a/dashboards-notifications/server/routes/index.ts +++ b/dashboards-notifications/server/routes/index.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { IRouter } from '../../../../src/core/server'; diff --git a/dashboards-notifications/server/utils/__tests__/helper.test.ts b/dashboards-notifications/server/utils/__tests__/helper.test.ts index f48e587d..b4e63b9d 100644 --- a/dashboards-notifications/server/utils/__tests__/helper.test.ts +++ b/dashboards-notifications/server/utils/__tests__/helper.test.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { joinRequestParams } from '../helper'; diff --git a/dashboards-notifications/server/utils/helper.ts b/dashboards-notifications/server/utils/helper.ts index d1ab3b81..9751b947 100644 --- a/dashboards-notifications/server/utils/helper.ts +++ b/dashboards-notifications/server/utils/helper.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ export const joinRequestParams = ( diff --git a/dashboards-notifications/test/jest.config.js b/dashboards-notifications/test/jest.config.js index 637b899e..299210bc 100644 --- a/dashboards-notifications/test/jest.config.js +++ b/dashboards-notifications/test/jest.config.js @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ module.exports = { diff --git a/dashboards-notifications/test/mocks/fileMock.ts b/dashboards-notifications/test/mocks/fileMock.ts index 9b7047f3..ad7b12d7 100644 --- a/dashboards-notifications/test/mocks/fileMock.ts +++ b/dashboards-notifications/test/mocks/fileMock.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ module.exports = 'mock-file'; diff --git a/dashboards-notifications/test/mocks/httpClientMock.ts b/dashboards-notifications/test/mocks/httpClientMock.ts index e313f421..24c04a95 100644 --- a/dashboards-notifications/test/mocks/httpClientMock.ts +++ b/dashboards-notifications/test/mocks/httpClientMock.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { HttpSetup } from "opensearch-dashboards/public"; diff --git a/dashboards-notifications/test/mocks/mockData.ts b/dashboards-notifications/test/mocks/mockData.ts index 562bae29..a902ae6e 100644 --- a/dashboards-notifications/test/mocks/mockData.ts +++ b/dashboards-notifications/test/mocks/mockData.ts @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ import { diff --git a/dashboards-notifications/test/mocks/routerPropsMock.ts b/dashboards-notifications/test/mocks/routerPropsMock.ts index f59f9dce..a063625c 100644 --- a/dashboards-notifications/test/mocks/routerPropsMock.ts +++ b/dashboards-notifications/test/mocks/routerPropsMock.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { RouteComponentProps } from "react-router-dom"; diff --git a/dashboards-notifications/test/mocks/serviceMock.ts b/dashboards-notifications/test/mocks/serviceMock.ts index 13101794..14239fa0 100644 --- a/dashboards-notifications/test/mocks/serviceMock.ts +++ b/dashboards-notifications/test/mocks/serviceMock.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ import { CoreStart } from 'opensearch-dashboards/public'; diff --git a/dashboards-notifications/test/mocks/styleMock.ts b/dashboards-notifications/test/mocks/styleMock.ts index f4bda3d2..28de3c8b 100644 --- a/dashboards-notifications/test/mocks/styleMock.ts +++ b/dashboards-notifications/test/mocks/styleMock.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ module.exports = {}; diff --git a/dashboards-notifications/test/setup.jest.ts b/dashboards-notifications/test/setup.jest.ts index 2c65ad0d..e7c006b6 100644 --- a/dashboards-notifications/test/setup.jest.ts +++ b/dashboards-notifications/test/setup.jest.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ // import '@testing-library/jest-dom/extend-expect'; diff --git a/dashboards-notifications/test/setupTests.ts b/dashboards-notifications/test/setupTests.ts index be4969e7..87205cca 100644 --- a/dashboards-notifications/test/setupTests.ts +++ b/dashboards-notifications/test/setupTests.ts @@ -1,27 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. */ require('babel-polyfill'); diff --git a/notifications/.codecov.yml b/notifications/.codecov.yml index 517c0874..5980b360 100644 --- a/notifications/.codecov.yml +++ b/notifications/.codecov.yml @@ -1,29 +1,7 @@ --- -# -# 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. -# -# Modifications Copyright OpenSearch Contributors. See -# GitHub history for details. -# - ## -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License is located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file 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. -# + # Copyright OpenSearch Contributors + # SPDX-License-Identifier: Apache-2.0 ## codecov: diff --git a/notifications/.editorconfig b/notifications/.editorconfig index 0d2df500..98c68cf9 100644 --- a/notifications/.editorconfig +++ b/notifications/.editorconfig @@ -1,28 +1,6 @@ -# -# 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. -# -# Modifications Copyright OpenSearch Contributors. See -# GitHub history for details. -# - ## -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License is located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file 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. -# + # Copyright OpenSearch Contributors + # SPDX-License-Identifier: Apache-2.0 ## # config for Pinterest ktlint. https://github.com/pinterest/ktlint diff --git a/notifications/.gitignore b/notifications/.gitignore index aff0ae1e..1dc6f123 100644 --- a/notifications/.gitignore +++ b/notifications/.gitignore @@ -1,12 +1,8 @@ # -# 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. -# -# Modifications Copyright OpenSearch Contributors. See -# GitHub history for details. +## + # Copyright OpenSearch Contributors + # SPDX-License-Identifier: Apache-2.0 +## # ### Java ### diff --git a/notifications/build-tools/merged-coverage.gradle b/notifications/build-tools/merged-coverage.gradle index 2f49d2da..f94c8a67 100644 --- a/notifications/build-tools/merged-coverage.gradle +++ b/notifications/build-tools/merged-coverage.gradle @@ -1,12 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. */ allprojects { diff --git a/notifications/build-tools/plugin-coverage.gradle b/notifications/build-tools/plugin-coverage.gradle index 527cefd3..a6e0afdc 100644 --- a/notifications/build-tools/plugin-coverage.gradle +++ b/notifications/build-tools/plugin-coverage.gradle @@ -1,28 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. - * */ /** diff --git a/notifications/build.gradle b/notifications/build.gradle index a95981dd..1d707731 100644 --- a/notifications/build.gradle +++ b/notifications/build.gradle @@ -1,28 +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. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file 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. - * */ diff --git a/notifications/config/checkstyle/checkstyle.xml b/notifications/config/checkstyle/checkstyle.xml index 5e99b8a1..1105f0b2 100644 --- a/notifications/config/checkstyle/checkstyle.xml +++ b/notifications/config/checkstyle/checkstyle.xml @@ -1,31 +1,7 @@ - - - - - -