Skip to content

Commit a1fdc8d

Browse files
authored
Switch to long Apache-2.0 license header
1 parent 7747f2b commit a1fdc8d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1840
-345
lines changed

elasticsearch/__init__.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
# flake8: noqa
619
from __future__ import absolute_import

elasticsearch/_async/__init__.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.

elasticsearch/_async/client/__init__.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
# -*- coding: utf-8 -*-
2-
# Licensed to Elasticsearch B.V under one or more agreements.
3-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
4-
# See the LICENSE file in the project root for more information
2+
# Licensed to Elasticsearch B.V. under one or more contributor
3+
# license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright
5+
# ownership. Elasticsearch B.V. licenses this file to you under
6+
# the Apache License, Version 2.0 (the "License"); you may
7+
# not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
518

619
from __future__ import unicode_literals
720
import logging

elasticsearch/_async/client/async_search.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, SKIP_IN_PATH, query_params, _make_path
619

elasticsearch/_async/client/autoscaling.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, SKIP_IN_PATH, _make_path
619

elasticsearch/_async/client/cat.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path
619

elasticsearch/_async/client/ccr.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/cluster.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/dangling_indices.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, SKIP_IN_PATH, query_params, _make_path
619

elasticsearch/_async/client/enrich.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/eql.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, SKIP_IN_PATH, query_params, _make_path
619

elasticsearch/_async/client/graph.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/ilm.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/indices.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/ingest.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
619

elasticsearch/_async/client/license.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params
619

elasticsearch/_async/client/migration.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Licensed to Elasticsearch B.V under one or more agreements.
2-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3-
# See the LICENSE file in the project root for more information
1+
# Licensed to Elasticsearch B.V. under one or more contributor
2+
# license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright
4+
# ownership. Elasticsearch B.V. licenses this file to you under
5+
# the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
417

518
from .utils import NamespacedClient, query_params, _make_path
619

0 commit comments

Comments
 (0)