From ce26b84508a26db67f12160b7b3a2187c8968930 Mon Sep 17 00:00:00 2001 From: Miki Date: Wed, 3 Nov 2021 16:54:26 -0700 Subject: [PATCH] Update README and fix copyright notices (#35) * Add the project logo to the README file * Fix broken README links to LICENSE and NOTICE * Update copyright notices to short version Signed-off-by: Miki --- DEVELOPER_GUIDE.md | 4 +-- NOTICE | 14 ++--------- README.md | 6 +++-- gantt-chart/.cypress/integration/ui.spec.js | 23 +---------------- gantt-chart/.cypress/plugins/index.js | 23 +---------------- gantt-chart/.cypress/support/commands.js | 23 +---------------- gantt-chart/.cypress/support/constants.js | 23 +---------------- gantt-chart/.cypress/support/index.js | 23 +---------------- gantt-chart/.cypress/utils/constants.js | 23 +---------------- .../public/__tests__/gantt_vis_type.test.ts | 8 +----- .../components/__tests__/gantt_chart.test.tsx | 8 +----- .../__tests__/gantt_chart_editor.test.tsx | 8 +----- .../__tests__/options_editor.test.tsx | 8 +----- gantt-chart/public/components/gantt_chart.tsx | 23 +---------------- .../public/components/gantt_chart_editor.tsx | 23 +---------------- .../public/components/options_editor.tsx | 23 +---------------- gantt-chart/public/gantt_request_handler.ts | 23 +---------------- gantt-chart/public/gantt_vis_type.ts | 23 +---------------- gantt-chart/public/index.scss | 25 ++----------------- gantt-chart/public/index.ts | 22 +--------------- gantt-chart/public/plugin.ts | 23 +---------------- gantt-chart/server/index.ts | 23 +---------------- gantt-chart/server/plugin.ts | 23 +---------------- gantt-chart/server/routes/index.ts | 23 +---------------- gantt-chart/server/types.ts | 23 +---------------- gantt-chart/test/jest.config.js | 23 +---------------- gantt-chart/test/mocks/fileMock.ts | 8 +----- gantt-chart/test/mocks/httpClientMock.ts | 8 +----- gantt-chart/test/mocks/mockData.ts | 8 +----- gantt-chart/test/mocks/routerPropsMock.ts | 8 +----- gantt-chart/test/mocks/styleMock.ts | 8 +----- gantt-chart/test/setup.jest.ts | 8 +----- gantt-chart/test/setupTests.ts | 8 +----- 33 files changed, 39 insertions(+), 511 deletions(-) diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 8e376b5..798caac 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -4,8 +4,8 @@ So you want to contribute code to this project? Excellent! We're glad you're her ### Setup -1. Download OpenSearch for the version that matches the [OpenSearch Dashboards version specified in package.json](./package.json#L5). -1. Download the OpenSearch Dashboards source code for the [version specified in package.json](./package.json#L5) you want to set up. +1. Download OpenSearch for the version that matches the [OpenSearch Dashboards version specified in package.json](gantt-chart/package.json#L5). +1. Download the OpenSearch Dashboards source code for the [version specified in package.json](gantt-chart/package.json#L5) you want to set up. 1. Change your node version to the version specified in `.node-version` inside the OpenSearch Dashboards root directory. 1. cd into the OpenSearch Dashboards source code directory. diff --git a/NOTICE b/NOTICE index be83767..76223df 100644 --- a/NOTICE +++ b/NOTICE @@ -1,12 +1,2 @@ -OpenSearch -Copyright 2021 OpenSearch Contributors - -This product includes software developed by -Elasticsearch (http://www.elastic.co). -Copyright 2009-2018 Elasticsearch - -This product includes software developed by The Apache Software -Foundation (http://www.apache.org/). - -This product includes software developed by -Joda.org (http://www.joda.org/). +OpenSearch (https://opensearch.org) +Copyright OpenSearch Contributors \ No newline at end of file diff --git a/README.md b/README.md index 9076873..da03aa9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ [![Dashboards Visualizations CI](https://github.com/opensearch-project/dashboards-visualizations/actions/workflows/test-and-build-workflow.yml/badge.svg)](https://github.com/opensearch-project/dashboards-visualizations/actions/workflows/test-and-build-workflow.yml) [![codecov](https://codecov.io/gh/opensearch-project/dashboards-visualizations/branch/main/graphs/badge.svg)](https://codecov.io/gh/opensearch-project/dashboards-visualizations) +OpenSearch + # OpenSearch Dashboards Visualizations The OpenSearch Dashboards Visualizations enables you to use additional types of visualizations inside OpenSearch Dashboards Visualize and integrate them in Dashboard. @@ -30,8 +32,8 @@ If you discover a potential security issue in this project we ask that you notif ## License -This project is licensed under the [Apache v2.0 License](LICENSE.txt). +This project is licensed under the [Apache v2.0 License](LICENSE). ## Copyright -Copyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details. +Copyright OpenSearch Contributors. See [NOTICE](NOTICE) for details. diff --git a/gantt-chart/.cypress/integration/ui.spec.js b/gantt-chart/.cypress/integration/ui.spec.js index 7c74f51..4525fa7 100644 --- a/gantt-chart/.cypress/integration/ui.spec.js +++ b/gantt-chart/.cypress/integration/ui.spec.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 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/gantt-chart/.cypress/plugins/index.js b/gantt-chart/.cypress/plugins/index.js index b7a4643..8ac1f10 100644 --- a/gantt-chart/.cypress/plugins/index.js +++ b/gantt-chart/.cypress/plugins/index.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 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/gantt-chart/.cypress/support/commands.js b/gantt-chart/.cypress/support/commands.js index 52148a8..b8246c0 100644 --- a/gantt-chart/.cypress/support/commands.js +++ b/gantt-chart/.cypress/support/commands.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 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. */ const { ADMIN_AUTH } = require('./constants'); diff --git a/gantt-chart/.cypress/support/constants.js b/gantt-chart/.cypress/support/constants.js index f033ff8..4f2416b 100644 --- a/gantt-chart/.cypress/support/constants.js +++ b/gantt-chart/.cypress/support/constants.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. */ export const ADMIN_AUTH = { diff --git a/gantt-chart/.cypress/support/index.js b/gantt-chart/.cypress/support/index.js index 678321e..e044942 100644 --- a/gantt-chart/.cypress/support/index.js +++ b/gantt-chart/.cypress/support/index.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 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/gantt-chart/.cypress/utils/constants.js b/gantt-chart/.cypress/utils/constants.js index 938facf..fc8436d 100644 --- a/gantt-chart/.cypress/utils/constants.js +++ b/gantt-chart/.cypress/utils/constants.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 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. */ export const testDataSet = [ diff --git a/gantt-chart/public/__tests__/gantt_vis_type.test.ts b/gantt-chart/public/__tests__/gantt_vis_type.test.ts index caeb92c..bea102a 100644 --- a/gantt-chart/public/__tests__/gantt_vis_type.test.ts +++ b/gantt-chart/public/__tests__/gantt_vis_type.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 { MockStateParams } from '../../test/mocks/mockData'; diff --git a/gantt-chart/public/components/__tests__/gantt_chart.test.tsx b/gantt-chart/public/components/__tests__/gantt_chart.test.tsx index 178226f..9f1748c 100644 --- a/gantt-chart/public/components/__tests__/gantt_chart.test.tsx +++ b/gantt-chart/public/components/__tests__/gantt_chart.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/gantt-chart/public/components/__tests__/gantt_chart_editor.test.tsx b/gantt-chart/public/components/__tests__/gantt_chart_editor.test.tsx index b160c09..9dfcce3 100644 --- a/gantt-chart/public/components/__tests__/gantt_chart_editor.test.tsx +++ b/gantt-chart/public/components/__tests__/gantt_chart_editor.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/gantt-chart/public/components/__tests__/options_editor.test.tsx b/gantt-chart/public/components/__tests__/options_editor.test.tsx index 504d8f1..f9e35b2 100644 --- a/gantt-chart/public/components/__tests__/options_editor.test.tsx +++ b/gantt-chart/public/components/__tests__/options_editor.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/gantt-chart/public/components/gantt_chart.tsx b/gantt-chart/public/components/gantt_chart.tsx index f6eeac6..e193185 100644 --- a/gantt-chart/public/components/gantt_chart.tsx +++ b/gantt-chart/public/components/gantt_chart.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 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 { EuiEmptyPrompt, EuiText } from '@elastic/eui'; diff --git a/gantt-chart/public/components/gantt_chart_editor.tsx b/gantt-chart/public/components/gantt_chart_editor.tsx index d8c2936..d06da8b 100644 --- a/gantt-chart/public/components/gantt_chart_editor.tsx +++ b/gantt-chart/public/components/gantt_chart_editor.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 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 { diff --git a/gantt-chart/public/components/options_editor.tsx b/gantt-chart/public/components/options_editor.tsx index 00821b0..e5e24ef 100644 --- a/gantt-chart/public/components/options_editor.tsx +++ b/gantt-chart/public/components/options_editor.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 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 { diff --git a/gantt-chart/public/gantt_request_handler.ts b/gantt-chart/public/gantt_request_handler.ts index 6c83385..aba1278 100644 --- a/gantt-chart/public/gantt_request_handler.ts +++ b/gantt-chart/public/gantt_request_handler.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 { IUiSettingsClient } from 'opensearch-dashboards/public'; diff --git a/gantt-chart/public/gantt_vis_type.ts b/gantt-chart/public/gantt_vis_type.ts index 6e97ba9..f217f33 100644 --- a/gantt-chart/public/gantt_vis_type.ts +++ b/gantt-chart/public/gantt_vis_type.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 { Vis, PersistedState } from 'src/plugins/visualizations/public'; diff --git a/gantt-chart/public/index.scss b/gantt-chart/public/index.scss index 204471c..8b1e0cd 100644 --- a/gantt-chart/public/index.scss +++ b/gantt-chart/public/index.scss @@ -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. */ .embPanel__content[data-loading][data-type=plotlyGanttChart] { diff --git a/gantt-chart/public/index.ts b/gantt-chart/public/index.ts index dcc91be..17a4911 100644 --- a/gantt-chart/public/index.ts +++ b/gantt-chart/public/index.ts @@ -1,28 +1,8 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - * - * 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 './index.scss'; import { PluginInitializer } from 'opensearch-dashboards/public'; diff --git a/gantt-chart/public/plugin.ts b/gantt-chart/public/plugin.ts index e907173..403905d 100644 --- a/gantt-chart/public/plugin.ts +++ b/gantt-chart/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 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 { CoreSetup, Plugin, CoreStart, IUiSettingsClient, HttpSetup } from 'opensearch-dashboards/public'; diff --git a/gantt-chart/server/index.ts b/gantt-chart/server/index.ts index 8de79d6..c060ee3 100644 --- a/gantt-chart/server/index.ts +++ b/gantt-chart/server/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 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 { PluginInitializerContext } from '../../../src/core/server'; diff --git a/gantt-chart/server/plugin.ts b/gantt-chart/server/plugin.ts index d7609be..3303a39 100644 --- a/gantt-chart/server/plugin.ts +++ b/gantt-chart/server/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 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 { diff --git a/gantt-chart/server/routes/index.ts b/gantt-chart/server/routes/index.ts index b29d727..f829708 100644 --- a/gantt-chart/server/routes/index.ts +++ b/gantt-chart/server/routes/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 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 { schema } from '@osd/config-schema'; diff --git a/gantt-chart/server/types.ts b/gantt-chart/server/types.ts index 7059c52..eec3930 100644 --- a/gantt-chart/server/types.ts +++ b/gantt-chart/server/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 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. */ // eslint-disable-next-line @typescript-eslint/no-empty-interface diff --git a/gantt-chart/test/jest.config.js b/gantt-chart/test/jest.config.js index 637b899..299210b 100644 --- a/gantt-chart/test/jest.config.js +++ b/gantt-chart/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/gantt-chart/test/mocks/fileMock.ts b/gantt-chart/test/mocks/fileMock.ts index 3ad6726..ad7b12d 100644 --- a/gantt-chart/test/mocks/fileMock.ts +++ b/gantt-chart/test/mocks/fileMock.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. */ module.exports = 'mock-file'; diff --git a/gantt-chart/test/mocks/httpClientMock.ts b/gantt-chart/test/mocks/httpClientMock.ts index 6bff40d..1ad6e50 100644 --- a/gantt-chart/test/mocks/httpClientMock.ts +++ b/gantt-chart/test/mocks/httpClientMock.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 { HttpSetup } from 'opensearch-dashboards/public'; diff --git a/gantt-chart/test/mocks/mockData.ts b/gantt-chart/test/mocks/mockData.ts index c6f253f..0428071 100644 --- a/gantt-chart/test/mocks/mockData.ts +++ b/gantt-chart/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 { UiSettingsClient } from '../../../../src/core/public/ui_settings'; diff --git a/gantt-chart/test/mocks/routerPropsMock.ts b/gantt-chart/test/mocks/routerPropsMock.ts index d3e23b2..a063625 100644 --- a/gantt-chart/test/mocks/routerPropsMock.ts +++ b/gantt-chart/test/mocks/routerPropsMock.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 { RouteComponentProps } from "react-router-dom"; diff --git a/gantt-chart/test/mocks/styleMock.ts b/gantt-chart/test/mocks/styleMock.ts index ed2fc73..28de3c8 100644 --- a/gantt-chart/test/mocks/styleMock.ts +++ b/gantt-chart/test/mocks/styleMock.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. */ module.exports = {}; diff --git a/gantt-chart/test/setup.jest.ts b/gantt-chart/test/setup.jest.ts index 52719e4..1b03789 100644 --- a/gantt-chart/test/setup.jest.ts +++ b/gantt-chart/test/setup.jest.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 '@testing-library/jest-dom/extend-expect'; diff --git a/gantt-chart/test/setupTests.ts b/gantt-chart/test/setupTests.ts index df21bca..87205cc 100644 --- a/gantt-chart/test/setupTests.ts +++ b/gantt-chart/test/setupTests.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. */ require('babel-polyfill');