diff --git a/config/opensearch_dashboards.yml b/config/opensearch_dashboards.yml index b967c3adf2..9158f41a78 100644 --- a/config/opensearch_dashboards.yml +++ b/config/opensearch_dashboards.yml @@ -1,15 +1,6 @@ -# 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. +# Copyright OpenSearch Contributors +# SPDX-License-Identifier: Apache-2.0 + # Description: # Default configuration for OpenSearch Dashboards diff --git a/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint.sh b/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint.sh index b800d265fe..9dc2dbf690 100755 --- a/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint.sh +++ b/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint.sh @@ -1,17 +1,7 @@ #!/bin/bash -# Copyright 2019 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 # # Run OpenSearch-Dashboards, using environment variables to diff --git a/docker/release/config/opensearch-dashboards/opensearch_dashboards.yml b/docker/release/config/opensearch-dashboards/opensearch_dashboards.yml index df505bca27..674723f79f 100644 --- a/docker/release/config/opensearch-dashboards/opensearch_dashboards.yml +++ b/docker/release/config/opensearch-dashboards/opensearch_dashboards.yml @@ -1,15 +1,5 @@ -# 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. +# Copyright OpenSearch Contributors +# SPDX-License-Identifier: Apache-2.0 # Description: # Default configuration for OpenSearch Dashboards diff --git a/docker/release/config/opensearch/opensearch-docker-entrypoint.sh b/docker/release/config/opensearch/opensearch-docker-entrypoint.sh index 84dfd2d293..d93c1828ab 100755 --- a/docker/release/config/opensearch/opensearch-docker-entrypoint.sh +++ b/docker/release/config/opensearch/opensearch-docker-entrypoint.sh @@ -1,27 +1,7 @@ #!/bin/bash +# 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. # This script specify the entrypoint startup actions for opensearch # It will start both opensearch and performance analyzer plugin cli diff --git a/docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile b/docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile index e1ab83c9d1..256f457a5e 100644 --- a/docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile +++ b/docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile @@ -1,25 +1,5 @@ +# 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. # This dockerfile generates an AmazonLinux-based image containing an OpenSearch-Dashboards installation. diff --git a/docker/release/dockerfiles/opensearch.al2.dockerfile b/docker/release/dockerfiles/opensearch.al2.dockerfile index 1ff3fc3f34..29e14607ae 100644 --- a/docker/release/dockerfiles/opensearch.al2.dockerfile +++ b/docker/release/dockerfiles/opensearch.al2.dockerfile @@ -1,25 +1,5 @@ +# 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. # This dockerfile generates an AmazonLinux-based image containing an OpenSearch installation. diff --git a/scripts/legacy/tar/linux/opensearch-dashboards-tar-build.sh b/scripts/legacy/tar/linux/opensearch-dashboards-tar-build.sh index 6d630bdc13..37ba63d979 100755 --- a/scripts/legacy/tar/linux/opensearch-dashboards-tar-build.sh +++ b/scripts/legacy/tar/linux/opensearch-dashboards-tar-build.sh @@ -1,14 +1,7 @@ #!/bin/bash +# 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. # diff --git a/scripts/legacy/tar/linux/opensearch-tar-build.sh b/scripts/legacy/tar/linux/opensearch-tar-build.sh index 5f4bfa36fd..2824e357ff 100755 --- a/scripts/legacy/tar/linux/opensearch-tar-build.sh +++ b/scripts/legacy/tar/linux/opensearch-tar-build.sh @@ -1,14 +1,7 @@ #!/bin/bash +# 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. # diff --git a/scripts/legacy/tar/linux/opensearch-tar-install.sh b/scripts/legacy/tar/linux/opensearch-tar-install.sh index 6614e459a5..d5a2288391 100755 --- a/scripts/legacy/tar/linux/opensearch-tar-install.sh +++ b/scripts/legacy/tar/linux/opensearch-tar-install.sh @@ -1,17 +1,7 @@ #!/bin/bash -# 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. +# Copyright OpenSearch Contributors +# SPDX-License-Identifier: Apache-2.0 OPENSEARCH_HOME=`dirname $(realpath $0)`; cd $OPENSEARCH_HOME KNN_LIB_DIR=$OPENSEARCH_HOME/plugins/opensearch-knn/knnlib diff --git a/src/run_perf_test.py b/src/run_perf_test.py index d0d06c73dc..66a0091c39 100644 --- a/src/run_perf_test.py +++ b/src/run_perf_test.py @@ -1,3 +1,10 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. + + import argparse import os import sys