Skip to content

Commit

Permalink
Remove amazon license in other files
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 committed Nov 12, 2021
1 parent b2d1a16 commit c2a1cda
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 265 deletions.
13 changes: 0 additions & 13 deletions sql-cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 re
import ast

Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,5 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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.
"""
__version__ = "1.2.0.0"
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 errno
import os
import platform
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 click
import itertools

Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 click
import sys
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/opensearch_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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.
"""

from prompt_toolkit.enums import DEFAULT_BUFFER
from prompt_toolkit.filters import Condition
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/opensearch_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 boto3
import click
import logging
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/opensearch_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 logging

Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/opensearchsql_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 click
import re
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/src/opensearch_sql_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 sys

from collections import namedtuple
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 os
import stat
import pytest
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/tests/test_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 mock
import pytest
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 mock
from textwrap import dedent

Expand Down
13 changes: 0 additions & 13 deletions sql-cli/tests/test_opensearch_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 pytest
import mock
from textwrap import dedent
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/tests/test_opensearchsql_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 mock
import pytest
from prompt_toolkit.shortcuts import PromptSession
Expand Down
13 changes: 0 additions & 13 deletions sql-cli/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
Copyright OpenSearch Contributors
SPDX-License-Identifier: Apache-2.0
"""
"""
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 json
import pytest
from elasticsearch import ConnectionError, helpers, ConnectionPool
Expand Down
15 changes: 0 additions & 15 deletions sql-odbc/run_cppcheck.bat
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
:: Copyright OpenSearch Contributors
:: SPDX-License-Identifier: Apache-2.0

::
:: 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.
::

:: --force: force checks all define combinations (default max is 12)
:: --suppress=objectIndex: seemingly false-positive (TODO: investigate this further)
:: -iaws-sdk-cpp: avoid checking AWS C++ SDK source files in our repo
Expand Down
15 changes: 0 additions & 15 deletions sql-odbc/run_test_runner.bat
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
:: Copyright OpenSearch Contributors
:: SPDX-License-Identifier: Apache-2.0

::
:: 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.
::

set PROJECT_DIR=%CD%
set TEST_RUNNER_DIR=%PROJECT_DIR%\src\TestRunner
set WORKING_DIR=%PROJECT_DIR%\build\Debug64\odbc\bin\Debug
Expand Down
14 changes: 2 additions & 12 deletions sql-odbc/src/TestRunner/mako_template.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
<!--
* 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
-->
<!-- clang-format off -->

Expand Down
Loading

0 comments on commit c2a1cda

Please sign in to comment.