[AIRFLOW-248] Add Apache license header to all files - Added Apache license header for files with extension (.service, .in, .mako, .properties, .ini, .sh, .ldif, .coveragerc, .cfg, .yml, .conf, .sql, .css, .js, .html, .xml. - Added/Replaced shebang on all .sh files with portable version - #!/usr/bin/env bash. - Skipped third party css and js files. Skipped all minified js files as well.
Closes #1598 from ajayyadava/248 Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/15f710fb Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/15f710fb Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/15f710fb Branch: refs/heads/branch-1.7.2-apache Commit: 15f710fb34cc1164a209464b4c135939c146342d Parents: 6e60664 Author: Ajay Yadav <[email protected]> Authored: Tue Jun 21 08:15:42 2016 -0700 Committer: Bolke de Bruin <[email protected]> Committed: Mon Jul 11 15:39:58 2016 +0200 ---------------------------------------------------------------------- .codecov.yml | 14 ++++++++++ .coveragerc | 13 +++++++++ .landscape.yml | 13 +++++++++ .travis.yml | 13 +++++++++ MANIFEST.in | 17 ++++++++++-- airflow/alembic.ini | 13 +++++++++ airflow/bin/__init__.py | 14 ++++++++++ airflow/bin/airflow_scheduler_autorestart.sh | 13 +++++++++ airflow/bin/cli.py | 14 ++++++++++ airflow/contrib/__init__.py | 14 ++++++++++ airflow/contrib/auth/__init__.py | 14 ++++++++++ airflow/contrib/auth/backends/__init__.py | 14 ++++++++++ airflow/contrib/auth/backends/kerberos_auth.py | 14 ++++++++++ airflow/contrib/auth/backends/ldap_auth.py | 14 ++++++++++ airflow/contrib/auth/backends/password_auth.py | 14 ++++++++++ .../example_dags/example_qubole_operator.py | 14 ++++++++++ airflow/contrib/executors/__init__.py | 14 ++++++++++ airflow/contrib/executors/mesos_executor.py | 14 ++++++++++ .../operators/bigquery_check_operator.py | 14 ++++++++++ airflow/contrib/operators/bigquery_operator.py | 14 ++++++++++ .../contrib/operators/bigquery_to_bigquery.py | 14 ++++++++++ airflow/contrib/operators/bigquery_to_gcs.py | 14 ++++++++++ .../contrib/operators/gcs_download_operator.py | 14 ++++++++++ airflow/contrib/operators/gcs_to_bq.py | 14 ++++++++++ airflow/contrib/operators/mysql_to_gcs.py | 14 ++++++++++ airflow/contrib/operators/qubole_operator.py | 14 ++++++++++ .../contrib/operators/ssh_execute_operator.py | 14 ++++++++++ airflow/contrib/operators/vertica_operator.py | 14 ++++++++++ airflow/contrib/operators/vertica_to_hive.py | 14 ++++++++++ .../contrib/plugins/metastore_browser/main.py | 14 ++++++++++ .../templates/metastore_browser/base.html | 17 ++++++++++++ .../templates/metastore_browser/db.html | 17 ++++++++++++ .../templates/metastore_browser/dbs.html | 17 ++++++++++++ .../templates/metastore_browser/table.html | 17 ++++++++++++ airflow/example_dags/__init__.py | 14 ++++++++++ airflow/example_dags/entrypoint.sh | 13 +++++++++ airflow/example_dags/subdags/__init__.py | 14 ++++++++++ airflow/example_dags/subdags/subdag.py | 14 ++++++++++ airflow/example_dags/tutorial.py | 14 ++++++++++ airflow/executors/__init__.py | 14 ++++++++++ airflow/executors/local_executor.py | 14 ++++++++++ airflow/executors/sequential_executor.py | 14 ++++++++++ airflow/macros/hive.py | 14 ++++++++++ airflow/migrations/__init__.py | 14 ++++++++++ airflow/migrations/env.py | 14 ++++++++++ airflow/migrations/script.py.mako | 13 +++++++++ .../versions/13eb55f81627_for_compatibility.py | 14 ++++++++++ .../1507a7289a2f_create_is_encrypted.py | 14 ++++++++++ ...09e3_add_is_encrypted_column_to_variable_.py | 14 ++++++++++ .../versions/1b38cef5b76e_add_dagrun.py | 14 ++++++++++ .../versions/2e541a1dcfed_task_duration.py | 14 ++++++++++ .../versions/2e82aab8ef20_rename_user_table.py | 14 ++++++++++ ...e90f54d61_more_logging_into_task_isntance.py | 14 ++++++++++ .../versions/40e67319e3a9_dagrun_config.py | 14 ++++++++++ .../versions/4446e08588_dagrun_start_end.py | 14 ++++++++++ .../502898887f84_adding_extra_to_log.py | 14 ++++++++++ .../versions/52d714495f0_job_id_indices.py | 14 ++++++++++ .../561833c1c74b_add_password_column_to_user.py | 14 ++++++++++ airflow/migrations/versions/__init__.py | 14 ++++++++++ ...896_add_a_column_to_track_the_encryption_.py | 14 ++++++++++ ..._add_notification_sent_column_to_sla_miss.py | 14 ++++++++++ .../versions/e3a246e0dc1_current_schema.py | 14 ++++++++++ airflow/security/__init__.py | 14 ++++++++++ airflow/www/static/connection_form.js | 19 +++++++++++++ airflow/www/static/d3.tip.v0.6.3.js | 19 +++++++++++++ airflow/www/static/dagre.css | 19 +++++++++++++ airflow/www/static/dataTables.bootstrap.css | 19 +++++++++++++ airflow/www/static/gantt-chart-d3v2.js | 19 +++++++++++++ airflow/www/static/gantt.css | 19 +++++++++++++ airflow/www/static/graph.css | 19 +++++++++++++ airflow/www/static/heatmap-canvas.js | 19 +++++++++++++ airflow/www/static/jquery.dataTables.css | 19 +++++++++++++ airflow/www/static/main.css | 29 ++++++++++++-------- airflow/www/static/mode-sql.js | 19 +++++++++++++ airflow/www/static/nv.d3.css | 19 +++++++++++++ airflow/www/static/nv.d3.js | 19 +++++++++++++ airflow/www/static/para/parallel.css | 19 +++++++++++++ airflow/www/static/theme-crimson_editor.js | 19 +++++++++++++ airflow/www/static/tree.css | 19 +++++++++++++ airflow/www/templates/admin/master.html | 17 ++++++++++++ airflow/www/templates/airflow/chart.html | 17 ++++++++++++ airflow/www/templates/airflow/chart/create.html | 17 ++++++++++++ airflow/www/templates/airflow/chart/edit.html | 17 ++++++++++++ airflow/www/templates/airflow/circles.html | 17 ++++++++++++ airflow/www/templates/airflow/code.html | 17 ++++++++++++ airflow/www/templates/airflow/confirm.html | 17 ++++++++++++ airflow/www/templates/airflow/conn_create.html | 28 ++++++++++--------- airflow/www/templates/airflow/conn_edit.html | 28 ++++++++++--------- airflow/www/templates/airflow/conn_list.html | 29 ++++++++++---------- airflow/www/templates/airflow/dag.html | 17 ++++++++++++ airflow/www/templates/airflow/dag_code.html | 17 ++++++++++++ airflow/www/templates/airflow/dag_details.html | 17 ++++++++++++ airflow/www/templates/airflow/dags.html | 17 ++++++++++++ airflow/www/templates/airflow/gantt.html | 17 ++++++++++++ airflow/www/templates/airflow/graph.html | 17 ++++++++++++ airflow/www/templates/airflow/list_dags.html | 17 ++++++++++++ airflow/www/templates/airflow/login.html | 17 ++++++++++++ airflow/www/templates/airflow/master.html | 17 ++++++++++++ airflow/www/templates/airflow/model_create.html | 17 ++++++++++++ airflow/www/templates/airflow/model_edit.html | 17 ++++++++++++ airflow/www/templates/airflow/model_list.html | 17 ++++++++++++ airflow/www/templates/airflow/modelchart.html | 17 ++++++++++++ airflow/www/templates/airflow/noaccess.html | 17 ++++++++++++ airflow/www/templates/airflow/nvd3.html | 17 ++++++++++++ airflow/www/templates/airflow/para/para.html | 17 ++++++++++++ airflow/www/templates/airflow/query.html | 17 ++++++++++++ airflow/www/templates/airflow/task.html | 17 ++++++++++++ airflow/www/templates/airflow/ti_code.html | 17 ++++++++++++ airflow/www/templates/airflow/traceback.html | 17 ++++++++++++ airflow/www/templates/airflow/tree.html | 17 ++++++++++++ airflow/www/views.py | 2 +- dags/testdruid.py | 16 ++++++++++- docs/build.sh | 14 ++++++++++ docs/start_doc_server.sh | 13 +++++++++ init.sh | 16 ++++++++++- migrations.sql | 19 +++++++++++++ run_tox.sh | 13 +++++++++ run_unit_tests.sh | 16 ++++++++++- scripts/ci/airflow_travis.cfg | 13 +++++++++ scripts/ci/data/mysql_schema.sql | 19 +++++++++++++ scripts/ci/ldap.sh | 14 ++++++++++ scripts/ci/ldif/example.com.ldif | 13 +++++++++ scripts/ci/ldif/manager.example.com.ldif | 13 +++++++++ scripts/ci/ldif/users.example.com.ldif | 13 +++++++++ scripts/ci/load_fixtures.sh | 14 ++++++++++ scripts/ci/minikdc.properties | 13 +++++++++ scripts/ci/run_tests.sh | 14 ++++++++++ scripts/ci/setup_env.sh | 14 ++++++++++ scripts/ci/setup_kdc.sh | 14 ++++++++++ scripts/ci/slapd.conf | 13 +++++++++ scripts/systemd/airflow-flower.service | 13 +++++++++ scripts/systemd/airflow-kerberos.service | 13 +++++++++ scripts/systemd/airflow-scheduler.service | 13 +++++++++ scripts/systemd/airflow-webserver.service | 13 +++++++++ scripts/systemd/airflow-worker.service | 13 +++++++++ scripts/systemd/airflow.conf | 13 +++++++++ setup.cfg | 13 +++++++++ tests/__init__.py | 14 ++++++++++ tests/contrib/__init__.py | 14 ++++++++++ tests/contrib/operators/ssh_execute_operator.py | 14 ++++++++++ tests/operators/docker_operator.py | 14 ++++++++++ tests/testconfig/conf/core-with-trash.xml | 16 +++++++++++ tests/testconfig/conf/emr-core-site.xml | 16 +++++++++++ tests/testconfig/conf/ha-core-site.xml | 16 +++++++++++ tests/testconfig/conf/ha-noport-hdfs-site.xml | 16 +++++++++++ .../conf/ha-noport-trash-hdfs-site.xml | 16 +++++++++++ tests/testconfig/conf/ha-port-hdfs-site.xml | 16 +++++++++++ tests/testconfig/conf/non-ha-port-core-site.xml | 16 +++++++++++ tox.ini | 13 +++++++++ 149 files changed, 2255 insertions(+), 58 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/.codecov.yml ---------------------------------------------------------------------- diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..a496cb4 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,14 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + +# keep default http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/.coveragerc ---------------------------------------------------------------------- diff --git a/.coveragerc b/.coveragerc index 7ba22a3..f1a76c2 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,2 +1,15 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + [report] omit = *contrib* http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/.landscape.yml ---------------------------------------------------------------------- diff --git a/.landscape.yml b/.landscape.yml index 4660439..56de135 100644 --- a/.landscape.yml +++ b/.landscape.yml @@ -1,3 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + max-line-length: 90 strictness: medium pep8: http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index aefd081..d40cf32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + sudo: false language: python jdk: oraclejdk7 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/MANIFEST.in ---------------------------------------------------------------------- diff --git a/MANIFEST.in b/MANIFEST.in index 284700e..0aea6b5 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,17 @@ -recursive-include airflow/www/templates * -recursive-include airflow/www/static * +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + +graft airflow/www/templates +graft airflow/www/static include airflow/alembic.ini include requirements.txt http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/alembic.ini ---------------------------------------------------------------------- diff --git a/airflow/alembic.ini b/airflow/alembic.ini index ccbf78b..6274d5e 100644 --- a/airflow/alembic.ini +++ b/airflow/alembic.ini @@ -1,3 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + # A generic, single database configuration. [alembic] http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/bin/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/bin/__init__.py b/airflow/bin/__init__.py index e69de29..c82f579 100644 --- a/airflow/bin/__init__.py +++ b/airflow/bin/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/bin/airflow_scheduler_autorestart.sh ---------------------------------------------------------------------- diff --git a/airflow/bin/airflow_scheduler_autorestart.sh b/airflow/bin/airflow_scheduler_autorestart.sh index 0002b14..a5f6fe7 100755 --- a/airflow/bin/airflow_scheduler_autorestart.sh +++ b/airflow/bin/airflow_scheduler_autorestart.sh @@ -1,3 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + while echo "Running"; do airflow scheduler -n 5 echo "Scheduler crashed with exit code $?. Respawning.." >&2 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/bin/cli.py ---------------------------------------------------------------------- diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py index 3b24845..e5b71dc 100755 --- a/airflow/bin/cli.py +++ b/airflow/bin/cli.py @@ -1,4 +1,18 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 __future__ import print_function import logging import os http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/__init__.py b/airflow/contrib/__init__.py index e69de29..c82f579 100644 --- a/airflow/contrib/__init__.py +++ b/airflow/contrib/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/auth/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/auth/__init__.py b/airflow/contrib/auth/__init__.py index e69de29..c82f579 100644 --- a/airflow/contrib/auth/__init__.py +++ b/airflow/contrib/auth/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/auth/backends/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/auth/backends/__init__.py b/airflow/contrib/auth/backends/__init__.py index e69de29..c82f579 100644 --- a/airflow/contrib/auth/backends/__init__.py +++ b/airflow/contrib/auth/backends/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/auth/backends/kerberos_auth.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/auth/backends/kerberos_auth.py b/airflow/contrib/auth/backends/kerberos_auth.py index 8a26adb..cc8f83f 100644 --- a/airflow/contrib/auth/backends/kerberos_auth.py +++ b/airflow/contrib/auth/backends/kerberos_auth.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 flask_login from flask_login import login_required, current_user, logout_user from flask import flash http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/auth/backends/ldap_auth.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/auth/backends/ldap_auth.py b/airflow/contrib/auth/backends/ldap_auth.py index 14a74d4..7ea6d87 100644 --- a/airflow/contrib/auth/backends/ldap_auth.py +++ b/airflow/contrib/auth/backends/ldap_auth.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 flask_login from flask_login import login_required, current_user, logout_user from flask import flash http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/auth/backends/password_auth.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/auth/backends/password_auth.py b/airflow/contrib/auth/backends/password_auth.py index 51ae755..66b1df1 100644 --- a/airflow/contrib/auth/backends/password_auth.py +++ b/airflow/contrib/auth/backends/password_auth.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 __future__ import unicode_literals from sys import version_info http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/example_dags/example_qubole_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/example_dags/example_qubole_operator.py b/airflow/contrib/example_dags/example_qubole_operator.py index 464073a..fc75ccd 100644 --- a/airflow/contrib/example_dags/example_qubole_operator.py +++ b/airflow/contrib/example_dags/example_qubole_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 airflow import DAG from airflow.operators import DummyOperator, PythonOperator, BranchPythonOperator from airflow.contrib.operators import QuboleOperator http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/executors/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/executors/__init__.py b/airflow/contrib/executors/__init__.py index e69de29..c82f579 100644 --- a/airflow/contrib/executors/__init__.py +++ b/airflow/contrib/executors/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/executors/mesos_executor.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/executors/mesos_executor.py b/airflow/contrib/executors/mesos_executor.py index 45a474d..f2628a4 100644 --- a/airflow/contrib/executors/mesos_executor.py +++ b/airflow/contrib/executors/mesos_executor.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 future import standard_library standard_library.install_aliases() from builtins import str http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/bigquery_check_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/bigquery_check_operator.py b/airflow/contrib/operators/bigquery_check_operator.py index 218de5a..87e0ad7 100644 --- a/airflow/contrib/operators/bigquery_check_operator.py +++ b/airflow/contrib/operators/bigquery_check_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 airflow.contrib.hooks.bigquery_hook import BigQueryHook from airflow.operators import CheckOperator, ValueCheckOperator, IntervalCheckOperator from airflow.utils.decorators import apply_defaults http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/bigquery_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/bigquery_operator.py b/airflow/contrib/operators/bigquery_operator.py index 2f60ac6..9aacdd1 100644 --- a/airflow/contrib/operators/bigquery_operator.py +++ b/airflow/contrib/operators/bigquery_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 from airflow.contrib.hooks.bigquery_hook import BigQueryHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/bigquery_to_bigquery.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/bigquery_to_bigquery.py b/airflow/contrib/operators/bigquery_to_bigquery.py index c297935..52fea59 100644 --- a/airflow/contrib/operators/bigquery_to_bigquery.py +++ b/airflow/contrib/operators/bigquery_to_bigquery.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 from airflow.contrib.hooks.bigquery_hook import BigQueryHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/bigquery_to_gcs.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/bigquery_to_gcs.py b/airflow/contrib/operators/bigquery_to_gcs.py index 2b0f67b..01fd7e6 100644 --- a/airflow/contrib/operators/bigquery_to_gcs.py +++ b/airflow/contrib/operators/bigquery_to_gcs.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 from airflow.contrib.hooks.bigquery_hook import BigQueryHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/gcs_download_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/gcs_download_operator.py b/airflow/contrib/operators/gcs_download_operator.py index 8de6d17..7e19e13 100644 --- a/airflow/contrib/operators/gcs_download_operator.py +++ b/airflow/contrib/operators/gcs_download_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 from airflow.contrib.hooks.gcs_hook import GoogleCloudStorageHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/gcs_to_bq.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/gcs_to_bq.py b/airflow/contrib/operators/gcs_to_bq.py index ec3a459..07976e6 100644 --- a/airflow/contrib/operators/gcs_to_bq.py +++ b/airflow/contrib/operators/gcs_to_bq.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 logging http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/mysql_to_gcs.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/mysql_to_gcs.py b/airflow/contrib/operators/mysql_to_gcs.py index 0eb368e..05a813c 100644 --- a/airflow/contrib/operators/mysql_to_gcs.py +++ b/airflow/contrib/operators/mysql_to_gcs.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 logging import time http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/qubole_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/qubole_operator.py b/airflow/contrib/operators/qubole_operator.py index 2ed94e1..d68d276 100755 --- a/airflow/contrib/operators/qubole_operator.py +++ b/airflow/contrib/operators/qubole_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults from airflow.contrib.hooks import QuboleHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/ssh_execute_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/ssh_execute_operator.py b/airflow/contrib/operators/ssh_execute_operator.py index f8fb12a..123f1d8 100644 --- a/airflow/contrib/operators/ssh_execute_operator.py +++ b/airflow/contrib/operators/ssh_execute_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 builtins import bytes import logging import subprocess http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/vertica_operator.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/vertica_operator.py b/airflow/contrib/operators/vertica_operator.py index 9e5248f..471018f 100644 --- a/airflow/contrib/operators/vertica_operator.py +++ b/airflow/contrib/operators/vertica_operator.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 from airflow.contrib.hooks import VerticaHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/operators/vertica_to_hive.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/operators/vertica_to_hive.py b/airflow/contrib/operators/vertica_to_hive.py index 35a489a..ddc2ef2 100644 --- a/airflow/contrib/operators/vertica_to_hive.py +++ b/airflow/contrib/operators/vertica_to_hive.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 builtins import chr from collections import OrderedDict import unicodecsv as csv http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/plugins/metastore_browser/main.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/plugins/metastore_browser/main.py b/airflow/contrib/plugins/metastore_browser/main.py index 4a9d383..d2485ec 100644 --- a/airflow/contrib/plugins/metastore_browser/main.py +++ b/airflow/contrib/plugins/metastore_browser/main.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 datetime import datetime import json http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/base.html ---------------------------------------------------------------------- diff --git a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/base.html b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/base.html index 4755b6b..ba1e7e2 100644 --- a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/base.html +++ b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/base.html @@ -1,3 +1,20 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License 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. + +#} {% extends 'airflow/master.html' %} {% block body %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/db.html ---------------------------------------------------------------------- diff --git a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/db.html b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/db.html index bb0469d..846832d 100644 --- a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/db.html +++ b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/db.html @@ -1,3 +1,20 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License 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. + +#} {% extends 'metastore_browser/base.html' %} {% block plugin_content %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/dbs.html ---------------------------------------------------------------------- diff --git a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/dbs.html b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/dbs.html index aaf1806..a414522 100644 --- a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/dbs.html +++ b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/dbs.html @@ -1,3 +1,20 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License 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. + +#} {% extends 'metastore_browser/base.html' %} {% block plugin_content %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html ---------------------------------------------------------------------- diff --git a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html index ec9a9a8..3a9d7ca 100644 --- a/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html +++ b/airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html @@ -1,3 +1,20 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License 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. + +#} {% extends 'metastore_browser/base.html' %} {% block plugin_content %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/example_dags/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/example_dags/__init__.py b/airflow/example_dags/__init__.py index e69de29..c82f579 100644 --- a/airflow/example_dags/__init__.py +++ b/airflow/example_dags/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/example_dags/entrypoint.sh ---------------------------------------------------------------------- diff --git a/airflow/example_dags/entrypoint.sh b/airflow/example_dags/entrypoint.sh index 8e0c8a4..4421453 100644 --- a/airflow/example_dags/entrypoint.sh +++ b/airflow/example_dags/entrypoint.sh @@ -1 +1,14 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + ["/bin/bash", "-c", "/bin/sleep 30; /bin/mv {{params.source_location}}/{{ ti.xcom_pull('view_file') }} {{params.target_location}}; /bin/echo '{{params.target_location}}/{{ ti.xcom_pull('view_file') }}';"] http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/example_dags/subdags/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/example_dags/subdags/__init__.py b/airflow/example_dags/subdags/__init__.py index e69de29..c82f579 100644 --- a/airflow/example_dags/subdags/__init__.py +++ b/airflow/example_dags/subdags/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/example_dags/subdags/subdag.py ---------------------------------------------------------------------- diff --git a/airflow/example_dags/subdags/subdag.py b/airflow/example_dags/subdags/subdag.py index 4b3f58b..c0e1326 100644 --- a/airflow/example_dags/subdags/subdag.py +++ b/airflow/example_dags/subdags/subdag.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 airflow.models import DAG from airflow.operators import DummyOperator http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/example_dags/tutorial.py ---------------------------------------------------------------------- diff --git a/airflow/example_dags/tutorial.py b/airflow/example_dags/tutorial.py index 89867b7..6bb2cd3 100644 --- a/airflow/example_dags/tutorial.py +++ b/airflow/example_dags/tutorial.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """ ### Tutorial Documentation Documentation that goes along with the Airflow tutorial located http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/executors/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/executors/__init__.py b/airflow/executors/__init__.py index 31635a1..9396198 100644 --- a/airflow/executors/__init__.py +++ b/airflow/executors/__init__.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 from airflow import configuration http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/executors/local_executor.py ---------------------------------------------------------------------- diff --git a/airflow/executors/local_executor.py b/airflow/executors/local_executor.py index 24ef6c6..5447bfd 100644 --- a/airflow/executors/local_executor.py +++ b/airflow/executors/local_executor.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 multiprocessing import subprocess import time http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/executors/sequential_executor.py ---------------------------------------------------------------------- diff --git a/airflow/executors/sequential_executor.py b/airflow/executors/sequential_executor.py index 53d9f0a..43180cc 100644 --- a/airflow/executors/sequential_executor.py +++ b/airflow/executors/sequential_executor.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 builtins import str import subprocess http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/macros/hive.py ---------------------------------------------------------------------- diff --git a/airflow/macros/hive.py b/airflow/macros/hive.py index 2f69d66..f21a63a 100644 --- a/airflow/macros/hive.py +++ b/airflow/macros/hive.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 datetime http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/__init__.py b/airflow/migrations/__init__.py index e69de29..c82f579 100644 --- a/airflow/migrations/__init__.py +++ b/airflow/migrations/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/env.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/env.py b/airflow/migrations/env.py index 42ca29f..a107d6c 100644 --- a/airflow/migrations/env.py +++ b/airflow/migrations/env.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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 __future__ import with_statement from alembic import context from logging.config import fileConfig http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/script.py.mako ---------------------------------------------------------------------- diff --git a/airflow/migrations/script.py.mako b/airflow/migrations/script.py.mako index 43c0940..d0fba89 100644 --- a/airflow/migrations/script.py.mako +++ b/airflow/migrations/script.py.mako @@ -1,3 +1,16 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """${message} Revision ID: ${up_revision} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/13eb55f81627_for_compatibility.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/13eb55f81627_for_compatibility.py b/airflow/migrations/versions/13eb55f81627_for_compatibility.py index 3bb4f60..69971e7 100644 --- a/airflow/migrations/versions/13eb55f81627_for_compatibility.py +++ b/airflow/migrations/versions/13eb55f81627_for_compatibility.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """maintain history for compatibility with earlier migrations Revision ID: 13eb55f81627 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/1507a7289a2f_create_is_encrypted.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/1507a7289a2f_create_is_encrypted.py b/airflow/migrations/versions/1507a7289a2f_create_is_encrypted.py index acef469..4d567b4 100644 --- a/airflow/migrations/versions/1507a7289a2f_create_is_encrypted.py +++ b/airflow/migrations/versions/1507a7289a2f_create_is_encrypted.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """create is_encrypted Revision ID: 1507a7289a2f http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/1968acfc09e3_add_is_encrypted_column_to_variable_.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/1968acfc09e3_add_is_encrypted_column_to_variable_.py b/airflow/migrations/versions/1968acfc09e3_add_is_encrypted_column_to_variable_.py index ec18902..c99434e 100644 --- a/airflow/migrations/versions/1968acfc09e3_add_is_encrypted_column_to_variable_.py +++ b/airflow/migrations/versions/1968acfc09e3_add_is_encrypted_column_to_variable_.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """add is_encrypted column to variable table Revision ID: 1968acfc09e3 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/1b38cef5b76e_add_dagrun.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/1b38cef5b76e_add_dagrun.py b/airflow/migrations/versions/1b38cef5b76e_add_dagrun.py index 4ffa27f..7da9ee7 100644 --- a/airflow/migrations/versions/1b38cef5b76e_add_dagrun.py +++ b/airflow/migrations/versions/1b38cef5b76e_add_dagrun.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """add dagrun Revision ID: 1b38cef5b76e http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/2e541a1dcfed_task_duration.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/2e541a1dcfed_task_duration.py b/airflow/migrations/versions/2e541a1dcfed_task_duration.py index 1094a66..c21535c 100644 --- a/airflow/migrations/versions/2e541a1dcfed_task_duration.py +++ b/airflow/migrations/versions/2e541a1dcfed_task_duration.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """task_duration Revision ID: 2e541a1dcfed http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/2e82aab8ef20_rename_user_table.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/2e82aab8ef20_rename_user_table.py b/airflow/migrations/versions/2e82aab8ef20_rename_user_table.py index 91883ca..6fb8bc2 100644 --- a/airflow/migrations/versions/2e82aab8ef20_rename_user_table.py +++ b/airflow/migrations/versions/2e82aab8ef20_rename_user_table.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """rename user table Revision ID: 2e82aab8ef20 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/338e90f54d61_more_logging_into_task_isntance.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/338e90f54d61_more_logging_into_task_isntance.py b/airflow/migrations/versions/338e90f54d61_more_logging_into_task_isntance.py index 4e4347f..42b152f 100644 --- a/airflow/migrations/versions/338e90f54d61_more_logging_into_task_isntance.py +++ b/airflow/migrations/versions/338e90f54d61_more_logging_into_task_isntance.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """More logging into task_isntance Revision ID: 338e90f54d61 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/40e67319e3a9_dagrun_config.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/40e67319e3a9_dagrun_config.py b/airflow/migrations/versions/40e67319e3a9_dagrun_config.py index 7a6eed2..e015031 100644 --- a/airflow/migrations/versions/40e67319e3a9_dagrun_config.py +++ b/airflow/migrations/versions/40e67319e3a9_dagrun_config.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """dagrun_config Revision ID: 40e67319e3a9 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/4446e08588_dagrun_start_end.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/4446e08588_dagrun_start_end.py b/airflow/migrations/versions/4446e08588_dagrun_start_end.py index 501fb08..d6f86d5 100644 --- a/airflow/migrations/versions/4446e08588_dagrun_start_end.py +++ b/airflow/migrations/versions/4446e08588_dagrun_start_end.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """dagrun start end Revision ID: 4446e08588 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/502898887f84_adding_extra_to_log.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/502898887f84_adding_extra_to_log.py b/airflow/migrations/versions/502898887f84_adding_extra_to_log.py index cda979e..1715d00 100644 --- a/airflow/migrations/versions/502898887f84_adding_extra_to_log.py +++ b/airflow/migrations/versions/502898887f84_adding_extra_to_log.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """Adding extra to Log Revision ID: 502898887f84 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/52d714495f0_job_id_indices.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/52d714495f0_job_id_indices.py b/airflow/migrations/versions/52d714495f0_job_id_indices.py index 10b74a0..0c418b5 100644 --- a/airflow/migrations/versions/52d714495f0_job_id_indices.py +++ b/airflow/migrations/versions/52d714495f0_job_id_indices.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """job_id indices Revision ID: 52d714495f0 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/561833c1c74b_add_password_column_to_user.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/561833c1c74b_add_password_column_to_user.py b/airflow/migrations/versions/561833c1c74b_add_password_column_to_user.py index 19d9004..71f9e06 100644 --- a/airflow/migrations/versions/561833c1c74b_add_password_column_to_user.py +++ b/airflow/migrations/versions/561833c1c74b_add_password_column_to_user.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """add password column to user Revision ID: 561833c1c74b http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/__init__.py b/airflow/migrations/versions/__init__.py index e69de29..c82f579 100644 --- a/airflow/migrations/versions/__init__.py +++ b/airflow/migrations/versions/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/bba5a7cfc896_add_a_column_to_track_the_encryption_.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/bba5a7cfc896_add_a_column_to_track_the_encryption_.py b/airflow/migrations/versions/bba5a7cfc896_add_a_column_to_track_the_encryption_.py index cee0426..7511f79 100644 --- a/airflow/migrations/versions/bba5a7cfc896_add_a_column_to_track_the_encryption_.py +++ b/airflow/migrations/versions/bba5a7cfc896_add_a_column_to_track_the_encryption_.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """Add a column to track the encryption state of the 'Extra' field in connection Revision ID: bba5a7cfc896 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/bbc73705a13e_add_notification_sent_column_to_sla_miss.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/bbc73705a13e_add_notification_sent_column_to_sla_miss.py b/airflow/migrations/versions/bbc73705a13e_add_notification_sent_column_to_sla_miss.py index 56b2c61..bc7c3bd 100644 --- a/airflow/migrations/versions/bbc73705a13e_add_notification_sent_column_to_sla_miss.py +++ b/airflow/migrations/versions/bbc73705a13e_add_notification_sent_column_to_sla_miss.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """Add notification_sent column to sla_miss Revision ID: bbc73705a13e http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/migrations/versions/e3a246e0dc1_current_schema.py ---------------------------------------------------------------------- diff --git a/airflow/migrations/versions/e3a246e0dc1_current_schema.py b/airflow/migrations/versions/e3a246e0dc1_current_schema.py index a66a857..57138c7 100644 --- a/airflow/migrations/versions/e3a246e0dc1_current_schema.py +++ b/airflow/migrations/versions/e3a246e0dc1_current_schema.py @@ -1,3 +1,17 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + """current schema Revision ID: e3a246e0dc1 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/security/__init__.py ---------------------------------------------------------------------- diff --git a/airflow/security/__init__.py b/airflow/security/__init__.py index e69de29..c82f579 100644 --- a/airflow/security/__init__.py +++ b/airflow/security/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License 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. + http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/connection_form.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/connection_form.js b/airflow/www/static/connection_form.js index 321eb1c..a8c70bc 100644 --- a/airflow/www/static/connection_form.js +++ b/airflow/www/static/connection_form.js @@ -1,4 +1,23 @@ /** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + +/** * Created by janomar on 23/07/15. */ http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/d3.tip.v0.6.3.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/d3.tip.v0.6.3.js b/airflow/www/static/d3.tip.v0.6.3.js index 6cfa3cb..9413a78 100644 --- a/airflow/www/static/d3.tip.v0.6.3.js +++ b/airflow/www/static/d3.tip.v0.6.3.js @@ -1,3 +1,22 @@ +/** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + // d3.tip // Copyright (c) 2013 Justin Palmer // http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/dagre.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/dagre.css b/airflow/www/static/dagre.css index bd74390..acf4ff5 100644 --- a/airflow/www/static/dagre.css +++ b/airflow/www/static/dagre.css @@ -1,3 +1,22 @@ +/** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + svg { overflow: hidden; } http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/dataTables.bootstrap.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/dataTables.bootstrap.css b/airflow/www/static/dataTables.bootstrap.css index eca982a..8ca39c3 100644 --- a/airflow/www/static/dataTables.bootstrap.css +++ b/airflow/www/static/dataTables.bootstrap.css @@ -1,3 +1,22 @@ +/** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + div.dataTables_length label { font-weight: normal; text-align: left; http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/gantt-chart-d3v2.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/gantt-chart-d3v2.js b/airflow/www/static/gantt-chart-d3v2.js index b8924f9..2aee016 100644 --- a/airflow/www/static/gantt-chart-d3v2.js +++ b/airflow/www/static/gantt-chart-d3v2.js @@ -1,4 +1,23 @@ /** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + +/** * @author Dimitry Kudrayvtsev * @version 2.1 * @modifiedby Maxime Beauchemin http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/gantt.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/gantt.css b/airflow/www/static/gantt.css index 1c388f9..8714705 100644 --- a/airflow/www/static/gantt.css +++ b/airflow/www/static/gantt.css @@ -1,3 +1,22 @@ +/** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + .axis path,.axis line { fill: none; stroke: #000; http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/graph.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/graph.css b/airflow/www/static/graph.css index b7e6384..e724b7a 100644 --- a/airflow/www/static/graph.css +++ b/airflow/www/static/graph.css @@ -1,3 +1,22 @@ +/** +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License 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. +*/ + g.node rect { stroke-width: 2; stroke: white;
