http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/heatmap-canvas.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/heatmap-canvas.js b/airflow/www/static/heatmap-canvas.js index ccea814..01ee471 100644 --- a/airflow/www/static/heatmap-canvas.js +++ b/airflow/www/static/heatmap-canvas.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. +*/ + /** * This plugin extends Highcharts in two ways:
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/jquery.dataTables.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/jquery.dataTables.css b/airflow/www/static/jquery.dataTables.css index 4e6fbe3..6a2e88d 100644 --- a/airflow/www/static/jquery.dataTables.css +++ b/airflow/www/static/jquery.dataTables.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. +*/ + /* * Table styles */ http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/main.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/main.css b/airflow/www/static/main.css index aab0683..a394984 100644 --- a/airflow/www/static/main.css +++ b/airflow/www/static/main.css @@ -1,16 +1,21 @@ /** - * 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. - */ +* 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. +*/ body { padding-top: 70px; } a.navbar-brand span { http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/mode-sql.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/mode-sql.js b/airflow/www/static/mode-sql.js index 66c50c1..6cdfad5 100644 --- a/airflow/www/static/mode-sql.js +++ b/airflow/www/static/mode-sql.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. +*/ + define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { "use strict"; http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/nv.d3.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/nv.d3.css b/airflow/www/static/nv.d3.css index cae8348..7ca7555 100644 --- a/airflow/www/static/nv.d3.css +++ b/airflow/www/static/nv.d3.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. +*/ + /******************** * HTML CSS http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/nv.d3.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/nv.d3.js b/airflow/www/static/nv.d3.js index f00492a..faa9a00 100644 --- a/airflow/www/static/nv.d3.js +++ b/airflow/www/static/nv.d3.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. +*/ + (function(){ var nv = window.nv || {}; http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/para/parallel.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/para/parallel.css b/airflow/www/static/para/parallel.css index 6c5b4ca..3921428 100644 --- a/airflow/www/static/para/parallel.css +++ b/airflow/www/static/para/parallel.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. +*/ + html, body { margin: 0; width: 100%; http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/theme-crimson_editor.js ---------------------------------------------------------------------- diff --git a/airflow/www/static/theme-crimson_editor.js b/airflow/www/static/theme-crimson_editor.js index a71cf6a..0543cde 100644 --- a/airflow/www/static/theme-crimson_editor.js +++ b/airflow/www/static/theme-crimson_editor.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. +*/ + define("ace/theme/crimson_editor",["require","exports","module","ace/lib/dom"], function(require, exports, module) { exports.isDark = false; exports.cssText = ".ace-crimson-editor .ace_gutter {\ http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/static/tree.css ---------------------------------------------------------------------- diff --git a/airflow/www/static/tree.css b/airflow/www/static/tree.css index 4b261c0..74c79da 100644 --- a/airflow/www/static/tree.css +++ b/airflow/www/static/tree.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_container{ // overflow: scroll; } http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/admin/master.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/admin/master.html b/airflow/www/templates/admin/master.html index 30ce97c..c4135a9 100644 --- a/airflow/www/templates/admin/master.html +++ b/airflow/www/templates/admin/master.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 'admin/base.html' %} {% block head_css %} {{ super() }} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/chart.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/chart.html b/airflow/www/templates/airflow/chart.html index 91b8be1..66f7411 100644 --- a/airflow/www/templates/airflow/chart.html +++ b/airflow/www/templates/airflow/chart.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/dag.html" %} {% block title %}Airflow - DAGs{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/chart/create.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/chart/create.html b/airflow/www/templates/airflow/chart/create.html index 4b05358..f449544 100644 --- a/airflow/www/templates/airflow/chart/create.html +++ b/airflow/www/templates/airflow/chart/create.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 'admin/model/create.html' %} {% block tail %} {{ super() }} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/chart/edit.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/chart/edit.html b/airflow/www/templates/airflow/chart/edit.html index 0f8c160..7945ea7 100644 --- a/airflow/www/templates/airflow/chart/edit.html +++ b/airflow/www/templates/airflow/chart/edit.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 'admin/model/edit.html' %} {% block tail %} {{ super() }} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/circles.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/circles.html b/airflow/www/templates/airflow/circles.html index 44e1349..ce94906 100644 --- a/airflow/www/templates/airflow/circles.html +++ b/airflow/www/templates/airflow/circles.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. + +#} <div style="font-family: verdana;"> <h1>Airflow 404 = lots of circles</h1> <div style="color: white">{{ hostname }}</div> http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/code.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/code.html b/airflow/www/templates/airflow/code.html index 076a5e6..6f5eee8 100644 --- a/airflow/www/templates/airflow/code.html +++ b/airflow/www/templates/airflow/code.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 title %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/confirm.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/confirm.html b/airflow/www/templates/airflow/confirm.html index 68fd6d1..8084250 100644 --- a/airflow/www/templates/airflow/confirm.html +++ b/airflow/www/templates/airflow/confirm.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/www/templates/airflow/conn_create.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/conn_create.html b/airflow/www/templates/airflow/conn_create.html index 16fcd81..bbdd1d7 100644 --- a/airflow/www/templates/airflow/conn_create.html +++ b/airflow/www/templates/airflow/conn_create.html @@ -1,17 +1,19 @@ {# -# -# 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. -# + 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/model_create.html' %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/conn_edit.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/conn_edit.html b/airflow/www/templates/airflow/conn_edit.html index adb8823..8259347 100644 --- a/airflow/www/templates/airflow/conn_edit.html +++ b/airflow/www/templates/airflow/conn_edit.html @@ -1,17 +1,19 @@ {# -# -# 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. -# + 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/model_edit.html' %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/conn_list.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/conn_list.html b/airflow/www/templates/airflow/conn_list.html index 2aa9ff6..db8b21a 100644 --- a/airflow/www/templates/airflow/conn_list.html +++ b/airflow/www/templates/airflow/conn_list.html @@ -1,19 +1,20 @@ {# -# -# 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. -# -#} + 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/model_list.html' %} {% block head_css %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/dag.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/dag.html b/airflow/www/templates/airflow/dag.html index c018adc..cb1f79d 100644 --- a/airflow/www/templates/airflow/dag.html +++ b/airflow/www/templates/airflow/dag.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" %} {% import 'admin/lib.html' as lib with context %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/dag_code.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/dag_code.html b/airflow/www/templates/airflow/dag_code.html index 69c116c..35f85b2 100644 --- a/airflow/www/templates/airflow/dag_code.html +++ b/airflow/www/templates/airflow/dag_code.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/dag.html" %} {% block title %}Airflow - DAGs{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/dag_details.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/dag_details.html b/airflow/www/templates/airflow/dag_details.html index b85f70b..716932a 100644 --- a/airflow/www/templates/airflow/dag_details.html +++ b/airflow/www/templates/airflow/dag_details.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/dag.html" %} {% block title %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/dags.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/dags.html b/airflow/www/templates/airflow/dags.html index ded3722..52883a5 100644 --- a/airflow/www/templates/airflow/dags.html +++ b/airflow/www/templates/airflow/dags.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 title %}Airflow - DAGs{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/gantt.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/gantt.html b/airflow/www/templates/airflow/gantt.html index cd58cc9..db1c551 100644 --- a/airflow/www/templates/airflow/gantt.html +++ b/airflow/www/templates/airflow/gantt.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/dag.html" %} {% block head_css %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/graph.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/graph.html b/airflow/www/templates/airflow/graph.html index 2bb48f6..8ddf494 100644 --- a/airflow/www/templates/airflow/graph.html +++ b/airflow/www/templates/airflow/graph.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/dag.html" %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/static.html' as admin_static with context %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/list_dags.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/list_dags.html b/airflow/www/templates/airflow/list_dags.html index b44c27c..11b20c7 100644 --- a/airflow/www/templates/airflow/list_dags.html +++ b/airflow/www/templates/airflow/list_dags.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 'admin/master.html' %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/static.html' as admin_static with context%} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/login.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/login.html b/airflow/www/templates/airflow/login.html index f7c526c..cdae317 100644 --- a/airflow/www/templates/airflow/login.html +++ b/airflow/www/templates/airflow/login.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 title %}{{ title }}{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/master.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/master.html b/airflow/www/templates/airflow/master.html index 6ba01e3..356c31c 100644 --- a/airflow/www/templates/airflow/master.html +++ b/airflow/www/templates/airflow/master.html @@ -1 +1,18 @@ +{# + 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 "admin/master.html" %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/model_create.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/model_create.html b/airflow/www/templates/airflow/model_create.html index 05c6f14..bbccb94 100644 --- a/airflow/www/templates/airflow/model_create.html +++ b/airflow/www/templates/airflow/model_create.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 'admin/model/edit.html' %} {% block body %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/model_edit.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/model_edit.html b/airflow/www/templates/airflow/model_edit.html index 2bcd5e8..2ed82d0 100644 --- a/airflow/www/templates/airflow/model_edit.html +++ b/airflow/www/templates/airflow/model_edit.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 'admin/model/edit.html' %} {% block body %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/model_list.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/model_list.html b/airflow/www/templates/airflow/model_list.html index 7d46db6..72cefd0 100644 --- a/airflow/www/templates/airflow/model_list.html +++ b/airflow/www/templates/airflow/model_list.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 'admin/model/list.html' %} {% block model_menu_bar %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/modelchart.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/modelchart.html b/airflow/www/templates/airflow/modelchart.html index ebed9dc..4da710f 100644 --- a/airflow/www/templates/airflow/modelchart.html +++ b/airflow/www/templates/airflow/modelchart.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 title %}Chart{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/noaccess.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/noaccess.html b/airflow/www/templates/airflow/noaccess.html index 71c5a72..3bd588e 100644 --- a/airflow/www/templates/airflow/noaccess.html +++ b/airflow/www/templates/airflow/noaccess.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 title %}{{ title }}{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/nvd3.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/nvd3.html b/airflow/www/templates/airflow/nvd3.html index 49c35ea..5478ff8 100644 --- a/airflow/www/templates/airflow/nvd3.html +++ b/airflow/www/templates/airflow/nvd3.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 head_css %} {{ super() }} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/para/para.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/para/para.html b/airflow/www/templates/airflow/para/para.html index 441aa1b..3d04d18 100644 --- a/airflow/www/templates/airflow/para/para.html +++ b/airflow/www/templates/airflow/para/para.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. + +#} <!DOCTYPE html> <html> <head> http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/query.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/query.html b/airflow/www/templates/airflow/query.html index aac94a5..abcc1af 100644 --- a/airflow/www/templates/airflow/query.html +++ b/airflow/www/templates/airflow/query.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 title %}{{ title }}{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/task.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/task.html b/airflow/www/templates/airflow/task.html index 50a98eb..653ad0b 100644 --- a/airflow/www/templates/airflow/task.html +++ b/airflow/www/templates/airflow/task.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/task_instance.html" %} {% block title %}Airflow - DAGs{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/ti_code.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/ti_code.html b/airflow/www/templates/airflow/ti_code.html index ec4cea2..44942ca 100644 --- a/airflow/www/templates/airflow/ti_code.html +++ b/airflow/www/templates/airflow/ti_code.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/task_instance.html" %} {% block title %}Airflow - DAGs{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/traceback.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/traceback.html b/airflow/www/templates/airflow/traceback.html index 24559eb..41c9ed7 100644 --- a/airflow/www/templates/airflow/traceback.html +++ b/airflow/www/templates/airflow/traceback.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. + +#} <html> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/templates/airflow/tree.html ---------------------------------------------------------------------- diff --git a/airflow/www/templates/airflow/tree.html b/airflow/www/templates/airflow/tree.html index 9c53b0a..be3655a 100644 --- a/airflow/www/templates/airflow/tree.html +++ b/airflow/www/templates/airflow/tree.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/dag.html" %} {% block title %}Airflow - DAGs{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/airflow/www/views.py ---------------------------------------------------------------------- diff --git a/airflow/www/views.py b/airflow/www/views.py index f949b8a..d862bb0 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -1348,7 +1348,7 @@ class Airflow(BaseView): form=form, chart=chart, ) - + @expose('/landing_times') @login_required @wwwutils.action_logging http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/dags/testdruid.py ---------------------------------------------------------------------- diff --git a/dags/testdruid.py b/dags/testdruid.py index ebfc607..2af8f51 100644 --- a/dags/testdruid.py +++ b/dags/testdruid.py @@ -1,4 +1,18 @@ -from airflow.operators import HiveToDruidTransfer +# -*- 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.operators.hive_to_druid import HiveToDruidTransfer from airflow import DAG from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/docs/build.sh ---------------------------------------------------------------------- diff --git a/docs/build.sh b/docs/build.sh index c02b225..47de416 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -1,3 +1,17 @@ #!/usr/bin/env bash + +# +# 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. + rm -r _build make html http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/docs/start_doc_server.sh ---------------------------------------------------------------------- diff --git a/docs/start_doc_server.sh b/docs/start_doc_server.sh index db92673..78210bf 100755 --- a/docs/start_doc_server.sh +++ b/docs/start_doc_server.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. + python -m SimpleHTTPServer 8000 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/init.sh ---------------------------------------------------------------------- diff --git a/init.sh b/init.sh index 2e4d987..2ac511b 100644 --- a/init.sh +++ b/init.sh @@ -1,2 +1,16 @@ -#!/bin/bash +#!/usr/bin/env bash + +# +# 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. + source $AIRFLOW_HOME/env/bin/activate http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/migrations.sql ---------------------------------------------------------------------- diff --git a/migrations.sql b/migrations.sql index b213aeb..36755de 100644 --- a/migrations.sql +++ b/migrations.sql @@ -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. +*/ + // To 0.7 alter table task_instance add column queue varchar(50) NULL; alter table task_instance add column pool varchar(50) NULL; http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/run_tox.sh ---------------------------------------------------------------------- diff --git a/run_tox.sh b/run_tox.sh index fea74b1..9ebcf09 100755 --- a/run_tox.sh +++ b/run_tox.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. + set -o verbose python setup.py test --tox-args="-v -e $TOX_ENV" http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/run_unit_tests.sh ---------------------------------------------------------------------- diff --git a/run_unit_tests.sh b/run_unit_tests.sh index 71df44c..d41e191 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -1,4 +1,18 @@ -#!/bin/sh +#!/usr/bin/env bash + +# +# 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. + # environment export AIRFLOW_HOME=${AIRFLOW_HOME:=~/airflow} http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/airflow_travis.cfg ---------------------------------------------------------------------- diff --git a/scripts/ci/airflow_travis.cfg b/scripts/ci/airflow_travis.cfg index dcc88ef..505bc0e 100644 --- a/scripts/ci/airflow_travis.cfg +++ b/scripts/ci/airflow_travis.cfg @@ -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. + [core] airflow_home = ~/airflow dags_folder = ~/airflow/dags http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/data/mysql_schema.sql ---------------------------------------------------------------------- diff --git a/scripts/ci/data/mysql_schema.sql b/scripts/ci/data/mysql_schema.sql index 07f6c1b..c2c6072 100644 --- a/scripts/ci/data/mysql_schema.sql +++ b/scripts/ci/data/mysql_schema.sql @@ -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. +*/ + USE airflow_ci; CREATE TABLE IF NOT EXISTS baby_names ( http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/ldap.sh ---------------------------------------------------------------------- diff --git a/scripts/ci/ldap.sh b/scripts/ci/ldap.sh index 49031ab..1414928 100755 --- a/scripts/ci/ldap.sh +++ b/scripts/ci/ldap.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash + +# +# 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. + set -o verbose DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/ldif/example.com.ldif ---------------------------------------------------------------------- diff --git a/scripts/ci/ldif/example.com.ldif b/scripts/ci/ldif/example.com.ldif index ec723b6..0dacaf2 100644 --- a/scripts/ci/ldif/example.com.ldif +++ b/scripts/ci/ldif/example.com.ldif @@ -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. + dn: dc=example,dc=com dc: example description: LDAP Example http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/ldif/manager.example.com.ldif ---------------------------------------------------------------------- diff --git a/scripts/ci/ldif/manager.example.com.ldif b/scripts/ci/ldif/manager.example.com.ldif index bf85c59..9c3bd95 100644 --- a/scripts/ci/ldif/manager.example.com.ldif +++ b/scripts/ci/ldif/manager.example.com.ldif @@ -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. + dn: cn=Manager,dc=example,dc=com cn: Manager objectClass: organizationalRole http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/ldif/users.example.com.ldif ---------------------------------------------------------------------- diff --git a/scripts/ci/ldif/users.example.com.ldif b/scripts/ci/ldif/users.example.com.ldif index 72549ad..0f35839 100644 --- a/scripts/ci/ldif/users.example.com.ldif +++ b/scripts/ci/ldif/users.example.com.ldif @@ -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. + # create all users dn: uid=user1,dc=example,dc=com http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/load_fixtures.sh ---------------------------------------------------------------------- diff --git a/scripts/ci/load_fixtures.sh b/scripts/ci/load_fixtures.sh index c547ebe..0aa92cc 100755 --- a/scripts/ci/load_fixtures.sh +++ b/scripts/ci/load_fixtures.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash + +# +# 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. + set -o verbose DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/minikdc.properties ---------------------------------------------------------------------- diff --git a/scripts/ci/minikdc.properties b/scripts/ci/minikdc.properties index c9c4a6d..e025498 100644 --- a/scripts/ci/minikdc.properties +++ b/scripts/ci/minikdc.properties @@ -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. + org.name=TEST org.domain=LOCAL kdc.bind.address=localhost http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/run_tests.sh ---------------------------------------------------------------------- diff --git a/scripts/ci/run_tests.sh b/scripts/ci/run_tests.sh index 3250439..caa5c7e 100755 --- a/scripts/ci/run_tests.sh +++ b/scripts/ci/run_tests.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash + +# +# 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. + set -o verbose if [ -z "$HADOOP_HOME" ]; then http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/setup_env.sh ---------------------------------------------------------------------- diff --git a/scripts/ci/setup_env.sh b/scripts/ci/setup_env.sh index 8617edd..11a0247 100755 --- a/scripts/ci/setup_env.sh +++ b/scripts/ci/setup_env.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash + +# +# 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. + set -o verbose MINIKDC_VERSION=2.7.1 http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/setup_kdc.sh ---------------------------------------------------------------------- diff --git a/scripts/ci/setup_kdc.sh b/scripts/ci/setup_kdc.sh index ee230ae..6b0ba00 100755 --- a/scripts/ci/setup_kdc.sh +++ b/scripts/ci/setup_kdc.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash + +# +# 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. + MINIKDC_VERSION=2.7.1 MINIKDC_HOME=/tmp/minikdc MINIKDC_CACHE=${CACHE}/minikdc http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/ci/slapd.conf ---------------------------------------------------------------------- diff --git a/scripts/ci/slapd.conf b/scripts/ci/slapd.conf index 31227dc..e0ec94c 100644 --- a/scripts/ci/slapd.conf +++ b/scripts/ci/slapd.conf @@ -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. + ## # Global Directives ## http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/systemd/airflow-flower.service ---------------------------------------------------------------------- diff --git a/scripts/systemd/airflow-flower.service b/scripts/systemd/airflow-flower.service index e181f71..4d524e8 100644 --- a/scripts/systemd/airflow-flower.service +++ b/scripts/systemd/airflow-flower.service @@ -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. + [Unit] Description=Airflow celery flower After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/systemd/airflow-kerberos.service ---------------------------------------------------------------------- diff --git a/scripts/systemd/airflow-kerberos.service b/scripts/systemd/airflow-kerberos.service index 06b24bb..9c4ed6b 100644 --- a/scripts/systemd/airflow-kerberos.service +++ b/scripts/systemd/airflow-kerberos.service @@ -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. + [Unit] Description=Airflow kerberos ticket renewer After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/systemd/airflow-scheduler.service ---------------------------------------------------------------------- diff --git a/scripts/systemd/airflow-scheduler.service b/scripts/systemd/airflow-scheduler.service index 3b72d9d..8c541cd 100644 --- a/scripts/systemd/airflow-scheduler.service +++ b/scripts/systemd/airflow-scheduler.service @@ -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. + [Unit] Description=Airflow scheduler daemon After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/systemd/airflow-webserver.service ---------------------------------------------------------------------- diff --git a/scripts/systemd/airflow-webserver.service b/scripts/systemd/airflow-webserver.service index fa0a0ff..73445fe 100644 --- a/scripts/systemd/airflow-webserver.service +++ b/scripts/systemd/airflow-webserver.service @@ -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. + [Unit] Description=Airflow webserver daemon After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/systemd/airflow-worker.service ---------------------------------------------------------------------- diff --git a/scripts/systemd/airflow-worker.service b/scripts/systemd/airflow-worker.service index 0b4da0d..7531824 100644 --- a/scripts/systemd/airflow-worker.service +++ b/scripts/systemd/airflow-worker.service @@ -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. + [Unit] Description=Airflow celery worker daemon After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/scripts/systemd/airflow.conf ---------------------------------------------------------------------- diff --git a/scripts/systemd/airflow.conf b/scripts/systemd/airflow.conf index 55a11e4..de110a7 100644 --- a/scripts/systemd/airflow.conf +++ b/scripts/systemd/airflow.conf @@ -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. + D /run/airflow 0755 airflow airflow http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/setup.cfg ---------------------------------------------------------------------- diff --git a/setup.cfg b/setup.cfg index cd389a8..0dd2c39 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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. + [metadata] name = Airflow summary = Airflow is a system to programmatically author, schedule and monitor data pipelines. http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/__init__.py ---------------------------------------------------------------------- diff --git a/tests/__init__.py b/tests/__init__.py index ca8150b..607f096 100644 --- a/tests/__init__.py +++ b/tests/__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. + from __future__ import absolute_import from .configuration import * http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/contrib/__init__.py ---------------------------------------------------------------------- diff --git a/tests/contrib/__init__.py b/tests/contrib/__init__.py index adaa08f..180273b 100644 --- a/tests/contrib/__init__.py +++ b/tests/contrib/__init__.py @@ -1,2 +1,16 @@ +# -*- 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 absolute_import from .operators import * http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/contrib/operators/ssh_execute_operator.py ---------------------------------------------------------------------- diff --git a/tests/contrib/operators/ssh_execute_operator.py b/tests/contrib/operators/ssh_execute_operator.py index 0772ee7..e0387d0 100644 --- a/tests/contrib/operators/ssh_execute_operator.py +++ b/tests/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. + import unittest from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/operators/docker_operator.py ---------------------------------------------------------------------- diff --git a/tests/operators/docker_operator.py b/tests/operators/docker_operator.py index 4f9004c..4dbed54 100644 --- a/tests/operators/docker_operator.py +++ b/tests/operators/docker_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 unittest from airflow.operators.docker_operator import DockerOperator http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/testconfig/conf/core-with-trash.xml ---------------------------------------------------------------------- diff --git a/tests/testconfig/conf/core-with-trash.xml b/tests/testconfig/conf/core-with-trash.xml index ba5e77c..bd83bce 100644 --- a/tests/testconfig/conf/core-with-trash.xml +++ b/tests/testconfig/conf/core-with-trash.xml @@ -1,3 +1,19 @@ +<!-- + 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. +--> <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/testconfig/conf/emr-core-site.xml ---------------------------------------------------------------------- diff --git a/tests/testconfig/conf/emr-core-site.xml b/tests/testconfig/conf/emr-core-site.xml index 5fb7e29..f977b9f 100644 --- a/tests/testconfig/conf/emr-core-site.xml +++ b/tests/testconfig/conf/emr-core-site.xml @@ -1,3 +1,19 @@ +<!-- + 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. +--> <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/15f710fb/tests/testconfig/conf/ha-core-site.xml ---------------------------------------------------------------------- diff --git a/tests/testconfig/conf/ha-core-site.xml b/tests/testconfig/conf/ha-core-site.xml index 0537100..d970aa2 100644 --- a/tests/testconfig/conf/ha-core-site.xml +++ b/tests/testconfig/conf/ha-core-site.xml @@ -1,3 +1,19 @@ +<!-- + 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. +--> <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
