From 7aaaf5ca87173bd559f5f14499a268490aa6cd4c Mon Sep 17 00:00:00 2001 From: Kaya Kupferschmidt Date: Sat, 31 Mar 2018 11:51:55 +0200 Subject: [PATCH] gitlab-23: Added Apache license --- LICENSE | 201 ++++++++++++++++++ .../flowman/annotation/MappingType.java | 16 ++ .../flowman/annotation/OutputType.java | 17 +- .../flowman/annotation/RelationType.java | 16 ++ .../flowman/execution/AbstractContext.scala | 16 ++ .../flowman/execution/AbstractExecutor.scala | 16 ++ .../dimajix/flowman/execution/Context.scala | 16 ++ .../dimajix/flowman/execution/Executor.scala | 16 ++ .../flowman/execution/ProjectContext.scala | 17 +- .../flowman/execution/ProjectExecutor.scala | 16 ++ .../flowman/execution/RootContext.scala | 16 ++ .../flowman/execution/RootExecutor.scala | 16 ++ .../dimajix/flowman/execution/Session.scala | 16 ++ .../flowman/sources/local/BaseRelation.scala | 16 ++ .../sources/local/DataFrameReader.scala | 16 ++ .../sources/local/DataFrameWriter.scala | 16 ++ .../flowman/sources/local/DataSource.scala | 16 ++ .../sources/local/RelationProvider.scala | 16 ++ .../sources/local/csv/CsvFileFormat.scala | 16 ++ .../sources/local/csv/CsvOptions.scala | 16 ++ .../sources/local/csv/CsvRelation.scala | 17 +- .../flowman/sources/local/csv/CsvUtils.scala | 16 ++ .../sources/local/csv/UnivocityWriter.scala | 16 ++ .../flowman/sources/local/implicits.scala | 16 ++ .../sources/spark/SequenceFileFormat.scala | 16 ++ .../sources/spark/SequenceFileRelation.scala | 16 ++ .../com/dimajix/flowman/spec/Connection.scala | 16 ++ .../com/dimajix/flowman/spec/Module.scala | 16 ++ .../com/dimajix/flowman/spec/Namespace.scala | 16 ++ .../com/dimajix/flowman/spec/Profile.scala | 16 ++ .../com/dimajix/flowman/spec/Project.scala | 16 ++ .../flowman/spec/flow/AggregateMapping.scala | 16 ++ .../flowman/spec/flow/AliasMapping.scala | 16 ++ .../flowman/spec/flow/BaseMapping.scala | 16 ++ .../flowman/spec/flow/ExtendMapping.scala | 16 ++ .../flowman/spec/flow/FilterMapping.scala | 16 ++ .../flowman/spec/flow/InputMapping.scala | 16 ++ .../dimajix/flowman/spec/flow/Mapping.scala | 16 ++ .../flowman/spec/flow/ProjectMapping.scala | 16 ++ .../spec/flow/RepartitionMapping.scala | 16 ++ .../flowman/spec/flow/SelectMapping.scala | 16 ++ .../flowman/spec/flow/SortMapping.scala | 16 ++ .../flowman/spec/flow/SqlMapping.scala | 16 ++ .../flowman/spec/flow/UnionMapping.scala | 16 ++ .../flowman/spec/model/BaseRelation.scala | 16 ++ .../flowman/spec/model/FileRelation.scala | 16 ++ .../spec/model/HiveTableRelation.scala | 16 ++ .../flowman/spec/model/HiveViewRelation.scala | 16 ++ .../flowman/spec/model/JdbcRelation.scala | 16 ++ .../flowman/spec/model/LocalRelation.scala | 17 ++ .../flowman/spec/model/NullRelation.scala | 19 +- .../dimajix/flowman/spec/model/Relation.scala | 16 ++ .../flowman/spec/output/BaseOutput.scala | 16 ++ .../flowman/spec/output/BlackholeOutput.scala | 16 ++ .../flowman/spec/output/CountOutput.scala | 16 ++ .../flowman/spec/output/DumpOutput.scala | 16 ++ .../flowman/spec/output/LocalOutput.scala | 16 ++ .../dimajix/flowman/spec/output/Output.scala | 16 ++ .../flowman/spec/output/RelationOutput.scala | 16 ++ .../flowman/spec/runner/AbstractRunner.scala | 16 ++ .../spec/runner/JdbcLoggedRunner.scala | 16 ++ .../dimajix/flowman/spec/runner/Runner.scala | 16 ++ .../flowman/spec/runner/SimpleRunner.scala | 16 ++ .../flowman/spec/schema/ArrayType.scala | 16 ++ .../flowman/spec/schema/BinaryType.scala | 16 ++ .../flowman/spec/schema/BooleanType.scala | 16 ++ .../flowman/spec/schema/ByteType.scala | 16 ++ .../spec/schema/CalendarIntervalType.scala | 16 ++ .../flowman/spec/schema/DateType.scala | 16 ++ .../flowman/spec/schema/DecimalType.scala | 16 ++ .../flowman/spec/schema/DoubleType.scala | 16 ++ .../dimajix/flowman/spec/schema/Field.scala | 16 ++ .../flowman/spec/schema/FieldType.scala | 16 ++ .../flowman/spec/schema/FieldValue.scala | 16 ++ .../flowman/spec/schema/FloatType.scala | 16 ++ .../flowman/spec/schema/IntegerType.scala | 16 ++ .../flowman/spec/schema/LongType.scala | 16 ++ .../dimajix/flowman/spec/schema/MapType.scala | 16 ++ .../flowman/spec/schema/NullType.scala | 16 ++ .../flowman/spec/schema/ShortType.scala | 16 ++ .../flowman/spec/schema/StringType.scala | 16 ++ .../flowman/spec/schema/StructType.scala | 16 ++ .../flowman/spec/schema/TimestampType.scala | 16 ++ .../flowman/spec/schema/VarcharType.scala | 16 ++ .../dimajix/flowman/spec/task/BaseTask.scala | 16 ++ .../spec/task/CreateRelationTask.scala | 16 ++ .../spec/task/DestroyRelationTask.scala | 16 ++ .../dimajix/flowman/spec/task/DumpTask.scala | 16 ++ .../com/dimajix/flowman/spec/task/Job.scala | 16 ++ .../dimajix/flowman/spec/task/LoopTask.scala | 16 ++ .../flowman/spec/task/OutputTask.scala | 16 ++ .../dimajix/flowman/spec/task/ShellTask.scala | 16 ++ .../com/dimajix/flowman/spec/task/Task.scala | 16 ++ .../com/dimajix/flowman/spec/types.scala | 16 ++ .../dimajix/flowman/spi/MappingProvider.scala | 16 ++ .../dimajix/flowman/spi/OutputProvider.scala | 16 ++ .../flowman/spi/RelationProvider.scala | 16 ++ .../com/dimajix/flowman/spi/Scanner.scala | 16 ++ .../dimajix/flowman/storage/FileStore.scala | 16 ++ .../com/dimajix/flowman/storage/Store.scala | 16 ++ .../flowman/tools/admin/Arguments.scala | 18 +- .../dimajix/flowman/tools/admin/Command.scala | 18 +- .../dimajix/flowman/tools/admin/Driver.scala | 18 +- .../flowman/tools/admin/NestedCommand.scala | 18 +- .../flowman/tools/control/Arguments.scala | 16 ++ .../flowman/tools/control/Command.scala | 16 ++ .../flowman/tools/control/Driver.scala | 16 ++ .../flowman/tools/control/NestedCommand.scala | 16 ++ .../tools/control/env/AddCommand.scala | 16 ++ .../tools/control/env/ListCommand.scala | 16 ++ .../tools/control/flow/ListCommand.scala | 16 ++ .../tools/control/model/ListCommand.scala | 16 ++ .../tools/control/profile/ListCommand.scala | 16 ++ .../tools/control/project/ListCommand.scala | 16 ++ .../tools/control/test/ListCommand.scala | 16 ++ .../flowman/tools/exec/ActionCommand.scala | 18 +- .../flowman/tools/exec/Arguments.scala | 16 ++ .../dimajix/flowman/tools/exec/Command.scala | 16 ++ .../dimajix/flowman/tools/exec/Driver.scala | 16 ++ .../flowman/tools/exec/NestedCommand.scala | 16 ++ .../tools/exec/mapping/DescribeCommand.scala | 16 ++ .../tools/exec/mapping/ExplainCommand.scala | 16 ++ .../tools/exec/mapping/MappingCommand.scala | 16 ++ .../tools/exec/mapping/ShowCommand.scala | 16 ++ .../tools/exec/mapping/ValidateCommand.scala | 16 ++ .../tools/exec/model/CreateCommand.scala | 16 ++ .../tools/exec/model/DescribeCommand.scala | 16 ++ .../tools/exec/model/DestroyCommand.scala | 16 ++ .../tools/exec/model/MigrateCommand.scala | 16 ++ .../tools/exec/model/ModelCommand.scala | 16 ++ .../tools/exec/model/ShowCommand.scala | 16 ++ .../tools/exec/output/OutputCommand.scala | 16 ++ .../tools/exec/output/RunCommand.scala | 16 ++ .../tools/exec/output/ValidateCommand.scala | 16 ++ .../tools/exec/project/ProjectCommand.scala | 16 ++ .../tools/exec/project/RunCommand.scala | 22 +- .../dimajix/flowman/util/FileCollector.scala | 19 +- .../dimajix/flowman/util/PartitionUtils.scala | 16 ++ .../dimajix/flowman/util/SchemaUtils.scala | 16 ++ .../com/dimajix/flowman/util/SparkUtils.scala | 16 ++ .../com/dimajix/flowman/util/package.scala | 16 ++ .../dimajix/flowman/DateTimeFormatTest.scala | 16 ++ .../dimajix/flowman/JacksonSubtypeTest.scala | 16 ++ .../com/dimajix/flowman/JacksonTest.scala | 16 ++ .../dimajix/flowman/LocalSparkSession.scala | 20 +- .../dimajix/flowman/MockedSparkSession.scala | 16 ++ .../dimajix/flowman/SparkSessionTest.scala | 16 ++ .../dimajix/flowman/SqlExpressionTest.scala | 20 +- .../flowman/execution/ContextTest.scala | 16 ++ .../flowman/execution/SessionTest.scala | 16 ++ .../sources/local/DataFrameReaderTest.scala | 16 ++ .../sources/local/DataFrameWriterTest.scala | 16 ++ .../sources/local/csv/CsvRelationTest.scala | 16 ++ .../spark/SequenceFileFormatTest.scala | 16 ++ .../com/dimajix/flowman/spec/ModuleTest.scala | 16 ++ .../flowman/spec/ValueOrRangeTest.scala | 16 ++ .../flowman/spec/flow/InputMappingTest.scala | 16 ++ .../spec/model/HiveTableRelationTest.scala | 16 ++ .../spec/model/LocalRelationTest.scala | 16 ++ .../flowman/spec/model/NullRelationTest.scala | 16 ++ .../spec/model/PluginRelationTest.scala | 16 ++ .../flowman/spec/schema/BooleanTypeTest.scala | 16 ++ .../flowman/spec/schema/ByteTypeTest.scala | 16 ++ .../flowman/spec/schema/DateTypeTest.scala | 16 ++ .../flowman/spec/schema/DecimalTypeTest.scala | 16 ++ .../flowman/spec/schema/FieldTest.scala | 16 ++ .../flowman/spec/schema/IntegerTypeTest.scala | 16 ++ .../flowman/spec/schema/LongTypeTest.scala | 16 ++ .../flowman/spec/schema/ShortTypeTest.scala | 16 ++ .../spec/schema/TimestampTypeTest.scala | 16 ++ .../flowman/spec/schema/VarcharTypeTest.scala | 16 ++ .../flowman/spec/task/OutputTaskTest.scala | 16 ++ .../flowman/spi/CustomRelationProvider.scala | 16 ++ .../flowman/util/PartitionUtilsTest.scala | 16 ++ 174 files changed, 2978 insertions(+), 25 deletions(-) diff --git a/LICENSE b/LICENSE index e69de29bb..261eeb9e9 100644 --- a/LICENSE +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/flowman-core/src/main/java/com/dimajix/flowman/annotation/MappingType.java b/flowman-core/src/main/java/com/dimajix/flowman/annotation/MappingType.java index b9ec529ce..9997129dc 100644 --- a/flowman-core/src/main/java/com/dimajix/flowman/annotation/MappingType.java +++ b/flowman-core/src/main/java/com/dimajix/flowman/annotation/MappingType.java @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.annotation; import java.lang.annotation.ElementType; diff --git a/flowman-core/src/main/java/com/dimajix/flowman/annotation/OutputType.java b/flowman-core/src/main/java/com/dimajix/flowman/annotation/OutputType.java index 0c2acbf6a..3ddfa5a91 100644 --- a/flowman-core/src/main/java/com/dimajix/flowman/annotation/OutputType.java +++ b/flowman-core/src/main/java/com/dimajix/flowman/annotation/OutputType.java @@ -1,5 +1,20 @@ -package com.dimajix.flowman.annotation; +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ +package com.dimajix.flowman.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/flowman-core/src/main/java/com/dimajix/flowman/annotation/RelationType.java b/flowman-core/src/main/java/com/dimajix/flowman/annotation/RelationType.java index 796492c34..db8cb66b1 100644 --- a/flowman-core/src/main/java/com/dimajix/flowman/annotation/RelationType.java +++ b/flowman-core/src/main/java/com/dimajix/flowman/annotation/RelationType.java @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.annotation; import java.lang.annotation.ElementType; diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractContext.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractContext.scala index 011edc8b6..242c413b6 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractContext.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractContext.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import java.io.StringWriter diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractExecutor.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractExecutor.scala index 97f4781aa..3123bfe54 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractExecutor.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/AbstractExecutor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import org.apache.spark.sql.SparkSession diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/Context.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/Context.scala index 1bd0ecdde..13d3231ef 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/Context.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/Context.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import org.slf4j.LoggerFactory diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/Executor.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/Executor.scala index b2f9c2843..58e105c08 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/Executor.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/Executor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import org.apache.spark.sql.DataFrame diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectContext.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectContext.scala index fe9907931..687cc801d 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectContext.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectContext.scala @@ -1,6 +1,21 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution -import org.slf4j.Logger import org.slf4j.LoggerFactory import com.dimajix.flowman.spec.Connection diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectExecutor.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectExecutor.scala index 3cbd121d1..69c45bbaf 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectExecutor.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/ProjectExecutor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import scala.collection.mutable diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootContext.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootContext.scala index c5c447c13..19cb015cd 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootContext.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootContext.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import java.util.NoSuchElementException diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootExecutor.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootExecutor.scala index b4151cd5a..5b35e58b1 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootExecutor.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/RootExecutor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import java.util.NoSuchElementException diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/execution/Session.scala b/flowman-core/src/main/scala/com/dimajix/flowman/execution/Session.scala index 49f7284fe..d2ebdcd3f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/execution/Session.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/execution/Session.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/BaseRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/BaseRelation.scala index 1bb3b3f41..d36495d7f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/BaseRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/BaseRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import org.apache.spark.sql.DataFrame diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameReader.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameReader.scala index 0d56085c3..a77d4d467 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameReader.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameReader.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import scala.collection.JavaConverters._ diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameWriter.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameWriter.scala index a19694ad6..da43f3921 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameWriter.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataFrameWriter.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import java.util.Locale diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataSource.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataSource.scala index 7af285bc0..5dce68f9c 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataSource.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/DataSource.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import java.io.File diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/RelationProvider.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/RelationProvider.scala index efebfe7f4..81228e4bd 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/RelationProvider.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/RelationProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import java.io.File diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvFileFormat.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvFileFormat.scala index 20b3cbbea..f5e2b79a2 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvFileFormat.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvFileFormat.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local.csv import java.io.File diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvOptions.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvOptions.scala index bf7c71a52..fb6ec0465 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvOptions.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvOptions.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local.csv import java.nio.charset.StandardCharsets diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvRelation.scala index 80b3d25b2..387d425c8 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvRelation.scala @@ -1,10 +1,25 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local.csv import java.io.File import java.io.FileOutputStream import java.io.IOException import java.io.OutputStreamWriter -import java.nio.file.Files import org.apache.spark.sql.DataFrame import org.apache.spark.sql.SQLContext diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvUtils.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvUtils.scala index 0e41454d7..1b21863af 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvUtils.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/CsvUtils.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local.csv import com.univocity.parsers.csv.CsvFormat diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/UnivocityWriter.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/UnivocityWriter.scala index 1d3a51a10..e6e3c0deb 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/UnivocityWriter.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/csv/UnivocityWriter.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local.csv import java.io.Closeable diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/implicits.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/implicits.scala index 1d7cd7530..18b649109 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/implicits.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/local/implicits.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import org.apache.spark.sql.DataFrame diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileFormat.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileFormat.scala index 366a07a64..9dd6e2342 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileFormat.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileFormat.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.spark import org.apache.spark.sql.SQLContext diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileRelation.scala index 640f2b2e8..e34cfa0aa 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/sources/spark/SequenceFileRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.spark import org.apache.hadoop.io.Text diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Connection.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Connection.scala index 3cc638d7f..2788aed4b 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Connection.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Connection.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Module.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Module.scala index 3cda82ab9..a5a684f80 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Module.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Module.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import java.io.File diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Namespace.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Namespace.scala index f30f5bba0..6e6719eab 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Namespace.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Namespace.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import com.dimajix.flowman.spec.runner.Runner diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Profile.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Profile.scala index 265fc4c96..100d164e7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Profile.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Profile.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Project.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Project.scala index 93a84bad7..8dd12daf1 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/Project.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/Project.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import java.io.File diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AggregateMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AggregateMapping.scala index f1b1bdc16..2dedcde60 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AggregateMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AggregateMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AliasMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AliasMapping.scala index 646f052d7..af58a41e8 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AliasMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/AliasMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/BaseMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/BaseMapping.scala index 7df32e3c8..bc58664ee 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/BaseMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/BaseMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ExtendMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ExtendMapping.scala index f6ae48744..b67e15117 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ExtendMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ExtendMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/FilterMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/FilterMapping.scala index 93f22222b..521922066 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/FilterMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/FilterMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/InputMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/InputMapping.scala index ca30d4ae3..2688be12e 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/InputMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/InputMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/Mapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/Mapping.scala index 4b3e137c2..919fab588 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/Mapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/Mapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonSubTypes diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ProjectMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ProjectMapping.scala index e6576cfe4..f3a89c8c0 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ProjectMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/ProjectMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/RepartitionMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/RepartitionMapping.scala index 283320c6f..93fb6fb26 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/RepartitionMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/RepartitionMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SelectMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SelectMapping.scala index 119d67930..e88c10e31 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SelectMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SelectMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SortMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SortMapping.scala index 80f6deb02..a79872cfd 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SortMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SortMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SqlMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SqlMapping.scala index dab5e1b72..b6e07d147 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SqlMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/SqlMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/UnionMapping.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/UnionMapping.scala index 24d0af594..56832294f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/UnionMapping.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/flow/UnionMapping.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/BaseRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/BaseRelation.scala index 21246900a..d266c7929 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/BaseRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/BaseRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/FileRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/FileRelation.scala index 2b10da5bf..5c38429c7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/FileRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/FileRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveTableRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveTableRelation.scala index 96117ea8f..665c1ffd8 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveTableRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveTableRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveViewRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveViewRelation.scala index af4626e91..b5d31049d 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveViewRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/HiveViewRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/JdbcRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/JdbcRelation.scala index 289d58cd5..26bc0bc86 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/JdbcRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/JdbcRelation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import java.util.Properties diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/LocalRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/LocalRelation.scala index 06cf8b4ae..09e04ead8 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/LocalRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/LocalRelation.scala @@ -1,4 +1,21 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model + import java.io.File import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/NullRelation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/NullRelation.scala index 00f49bc10..553bb8c6b 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/NullRelation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/NullRelation.scala @@ -1,11 +1,28 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model + import org.apache.spark.sql.DataFrame import org.apache.spark.sql.Row import org.apache.spark.sql.types.StructType import com.dimajix.flowman.execution.Executor -import com.dimajix.flowman.spec.schema.SingleValue import com.dimajix.flowman.spec.schema.FieldValue +import com.dimajix.flowman.spec.schema.SingleValue class NullRelation extends BaseRelation { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/Relation.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/Relation.scala index aa9712583..d6b7d5fed 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/Relation.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/model/Relation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import com.fasterxml.jackson.annotation.JsonSubTypes diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BaseOutput.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BaseOutput.scala index e76b36b55..5b8f1094b 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BaseOutput.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BaseOutput.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BlackholeOutput.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BlackholeOutput.scala index c90eb8b6e..d39280366 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BlackholeOutput.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/BlackholeOutput.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import org.apache.spark.sql.DataFrame diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/CountOutput.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/CountOutput.scala index 1457d431b..6396fc564 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/CountOutput.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/CountOutput.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import org.apache.spark.sql.DataFrame diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/DumpOutput.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/DumpOutput.scala index ea711cebe..e874e7a7f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/DumpOutput.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/DumpOutput.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/LocalOutput.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/LocalOutput.scala index a2b4aa725..ebc9fb946 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/LocalOutput.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/LocalOutput.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import java.io.File diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/Output.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/Output.scala index 4288e3a24..b1e683e8b 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/Output.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/Output.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import com.fasterxml.jackson.annotation.JsonSubTypes diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/RelationOutput.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/RelationOutput.scala index 31640fd49..00c4b7af7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/RelationOutput.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/output/RelationOutput.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.output import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/AbstractRunner.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/AbstractRunner.scala index 029cc0640..f2d544a55 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/AbstractRunner.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/AbstractRunner.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.runner import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/JdbcLoggedRunner.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/JdbcLoggedRunner.scala index c6e1e1d1c..40cb0d441 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/JdbcLoggedRunner.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/JdbcLoggedRunner.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.runner import java.sql.SQLRecoverableException diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/Runner.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/Runner.scala index 274b72460..0c010d880 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/Runner.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/Runner.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.runner import com.fasterxml.jackson.annotation.JsonSubTypes diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/SimpleRunner.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/SimpleRunner.scala index 965f207dc..edb86bcdf 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/SimpleRunner.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/runner/SimpleRunner.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.runner diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ArrayType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ArrayType.scala index 806dbe813..a683d7d26 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ArrayType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ArrayType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BinaryType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BinaryType.scala index de7c2981c..2081aabe1 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BinaryType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BinaryType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BooleanType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BooleanType.scala index 61e3bc1e9..a7d9682ad 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BooleanType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/BooleanType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ByteType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ByteType.scala index dc9efcb81..a2aadeaca 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ByteType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ByteType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/CalendarIntervalType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/CalendarIntervalType.scala index 45caa94c3..ad6f7381f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/CalendarIntervalType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/CalendarIntervalType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DateType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DateType.scala index 5b7762892..4ea489040 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DateType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DateType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import java.sql.Date diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DecimalType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DecimalType.scala index 088e9b70f..0a20164a8 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DecimalType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DecimalType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DoubleType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DoubleType.scala index fa190df36..b6ee39d20 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DoubleType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/DoubleType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/Field.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/Field.scala index 3b42d2570..181e9735a 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/Field.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/Field.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldType.scala index 7c3c3256d..c829b7ad1 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import java.util.Locale diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldValue.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldValue.scala index ce74d81ac..49927ddaa 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldValue.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FieldValue.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.core.JsonParser diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FloatType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FloatType.scala index 1bb20cdd3..70473148a 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FloatType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/FloatType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/IntegerType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/IntegerType.scala index 0f882a713..8579b9369 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/IntegerType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/IntegerType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/LongType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/LongType.scala index 779fcea28..ba0148d7d 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/LongType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/LongType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/MapType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/MapType.scala index 0ae5ad257..26be9aea5 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/MapType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/MapType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/NullType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/NullType.scala index 02051eac8..47ba720cc 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/NullType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/NullType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ShortType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ShortType.scala index 2fde24d67..f42e7de56 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ShortType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/ShortType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StringType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StringType.scala index b334c1074..eb961be14 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StringType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StringType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StructType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StructType.scala index ec5521220..1427abc51 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StructType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/StructType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/TimestampType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/TimestampType.scala index 18e2b23d3..8fccd60fb 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/TimestampType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/TimestampType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import java.sql.Timestamp diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/VarcharType.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/VarcharType.scala index 24dcb5dfb..c564780a7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/VarcharType.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/schema/VarcharType.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.apache.spark.sql.types.DataType diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/BaseTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/BaseTask.scala index d90a47107..b4bd510b1 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/BaseTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/BaseTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/CreateRelationTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/CreateRelationTask.scala index 157115b68..ed0418cff 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/CreateRelationTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/CreateRelationTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DestroyRelationTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DestroyRelationTask.scala index 3f6ee2f88..5d4b201e8 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DestroyRelationTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DestroyRelationTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DumpTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DumpTask.scala index 49da2f88e..8a2f54f1f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DumpTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/DumpTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Job.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Job.scala index f0b50f92f..0c4e70c93 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Job.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Job.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import scala.collection.immutable.ListMap diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/LoopTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/LoopTask.scala index 0d5d20829..09f10109f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/LoopTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/LoopTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/OutputTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/OutputTask.scala index 0713d9347..7296920d6 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/OutputTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/OutputTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonProperty diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/ShellTask.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/ShellTask.scala index 947ab3351..dd2beb5e0 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/ShellTask.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/ShellTask.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.dimajix.flowman.execution.Executor diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Task.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Task.scala index ef7526c47..560ee8853 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Task.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/task/Task.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import com.fasterxml.jackson.annotation.JsonSubTypes diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spec/types.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spec/types.scala index df34568a0..298fe367d 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spec/types.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spec/types.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spi/MappingProvider.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spi/MappingProvider.scala index 6c09f4612..3e7de4d85 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spi/MappingProvider.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spi/MappingProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spi import java.util.ServiceLoader diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spi/OutputProvider.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spi/OutputProvider.scala index c200753dd..12e44bd77 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spi/OutputProvider.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spi/OutputProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spi import java.util.ServiceLoader diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spi/RelationProvider.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spi/RelationProvider.scala index 9098cc1d6..3c6f230fb 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spi/RelationProvider.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spi/RelationProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spi import java.util.ServiceLoader diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/spi/Scanner.scala b/flowman-core/src/main/scala/com/dimajix/flowman/spi/Scanner.scala index 1793b8dc7..8e824deeb 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/spi/Scanner.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/spi/Scanner.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spi import io.github.lukehutch.fastclasspathscanner.FastClasspathScanner diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/storage/FileStore.scala b/flowman-core/src/main/scala/com/dimajix/flowman/storage/FileStore.scala index e81bfaa11..484991ae0 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/storage/FileStore.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/storage/FileStore.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.storage diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/storage/Store.scala b/flowman-core/src/main/scala/com/dimajix/flowman/storage/Store.scala index 49d7ded46..e4296882d 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/storage/Store.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/storage/Store.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.storage import com.dimajix.flowman.spec.Connection diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Arguments.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Arguments.scala index 11dfaa1d4..404cbf229 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Arguments.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Arguments.scala @@ -1,4 +1,20 @@ -package com.dimajix.flowman.tools.dfadmin +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + +package com.dimajix.flowman.tools.admin import scala.collection.JavaConversions._ diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Command.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Command.scala index 96de9bf8f..83601c795 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Command.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Command.scala @@ -1,4 +1,20 @@ -package com.dimajix.flowman.tools.dfadmin +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + +package com.dimajix.flowman.tools.admin import org.kohsuke.args4j.CmdLineParser import org.kohsuke.args4j.Option diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Driver.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Driver.scala index c0d65885a..bfc093976 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Driver.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/Driver.scala @@ -1,4 +1,20 @@ -package com.dimajix.flowman.tools.dfadmin +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + +package com.dimajix.flowman.tools.admin import java.util.Locale diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/NestedCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/NestedCommand.scala index 6d54d5204..435affd81 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/NestedCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/admin/NestedCommand.scala @@ -1,4 +1,20 @@ -package com.dimajix.flowman.tools.dfadmin +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + +package com.dimajix.flowman.tools.admin import org.kohsuke.args4j.CmdLineParser diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Arguments.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Arguments.scala index 2d1549c42..dea3d5564 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Arguments.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Arguments.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control class Arguments { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Command.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Command.scala index 0f19905d2..7d943bad0 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Command.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Command.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control import org.kohsuke.args4j.CmdLineParser diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Driver.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Driver.scala index 29e2cc098..b86b16968 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Driver.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/Driver.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control class Driver { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/NestedCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/NestedCommand.scala index d7d547073..7a877193f 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/NestedCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/NestedCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control import org.kohsuke.args4j.CmdLineParser diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/AddCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/AddCommand.scala index 1c36fe8cf..08bbbd148 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/AddCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/AddCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.env class AddCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/ListCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/ListCommand.scala index 50dc85a68..a5992464b 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/ListCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/env/ListCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.env class ListCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/flow/ListCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/flow/ListCommand.scala index c88ef9ddc..9934203a1 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/flow/ListCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/flow/ListCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.flow class ListCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/model/ListCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/model/ListCommand.scala index c22e99efc..804008675 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/model/ListCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/model/ListCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.model class ListCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/profile/ListCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/profile/ListCommand.scala index 7a26aadbf..beba3b9e7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/profile/ListCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/profile/ListCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.profile class ListCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/project/ListCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/project/ListCommand.scala index 955cd5d73..6293b6f60 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/project/ListCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/project/ListCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.project class ListCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/test/ListCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/test/ListCommand.scala index 7e11ae22f..e3d682781 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/test/ListCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/control/test/ListCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.control.test class ListCommand { diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/ActionCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/ActionCommand.scala index 3250a4acf..442892f85 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/ActionCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/ActionCommand.scala @@ -1,6 +1,20 @@ -package com.dimajix.flowman.tools.exec +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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 org.kohsuke.args4j.Option +package com.dimajix.flowman.tools.exec import com.dimajix.flowman.execution.Executor import com.dimajix.flowman.execution.Session diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Arguments.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Arguments.scala index 0c03969d4..fd1a62e92 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Arguments.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Arguments.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec import scala.collection.JavaConversions._ diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Command.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Command.scala index 3c1bbb95e..b1522b770 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Command.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Command.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec import org.kohsuke.args4j.CmdLineParser diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Driver.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Driver.scala index 84ed3bc39..16ca659d3 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Driver.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/Driver.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec import java.util.Locale diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/NestedCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/NestedCommand.scala index bf0c637d4..2d9e67f2e 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/NestedCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/NestedCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec import org.kohsuke.args4j.CmdLineParser diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/DescribeCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/DescribeCommand.scala index c8089b2b8..90bc1b4a4 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/DescribeCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/DescribeCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.mapping import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ExplainCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ExplainCommand.scala index 05eec87d1..bb9cd1dee 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ExplainCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ExplainCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.mapping import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/MappingCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/MappingCommand.scala index 354a46251..0e07426b7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/MappingCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/MappingCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.mapping import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ShowCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ShowCommand.scala index 6a8eb7b4b..e015c2c54 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ShowCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ShowCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.mapping import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ValidateCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ValidateCommand.scala index 4d7cec483..c4c3bc68c 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ValidateCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/mapping/ValidateCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.mapping import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/CreateCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/CreateCommand.scala index 11ae14071..7118159ae 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/CreateCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/CreateCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.model import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DescribeCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DescribeCommand.scala index d719753b1..a26c71899 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DescribeCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DescribeCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.model import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DestroyCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DestroyCommand.scala index 8da534a51..c9004b6ef 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DestroyCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/DestroyCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.model import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/MigrateCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/MigrateCommand.scala index 66826d707..e9314db2e 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/MigrateCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/MigrateCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.model import com.dimajix.flowman.execution.Executor diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ModelCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ModelCommand.scala index bfaaea522..48f3de21d 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ModelCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ModelCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.model import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ShowCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ShowCommand.scala index 832a37d27..db2fb6d49 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ShowCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/model/ShowCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.model import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/OutputCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/OutputCommand.scala index 92ae40901..45ba4a56c 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/OutputCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/OutputCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.output import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/RunCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/RunCommand.scala index 215333c43..805a4f995 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/RunCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/RunCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.output import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/ValidateCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/ValidateCommand.scala index d74788e7b..55b1d1a62 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/ValidateCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/output/ValidateCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.output import scala.util.Failure diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/ProjectCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/ProjectCommand.scala index f1dcb5fc9..82d13027c 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/ProjectCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/ProjectCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.tools.exec.project import org.kohsuke.args4j.Argument diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/RunCommand.scala b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/RunCommand.scala index 875254d72..2cb32faeb 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/RunCommand.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/tools/exec/project/RunCommand.scala @@ -1,14 +1,24 @@ -package com.dimajix.flowman.tools.exec.project +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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 scala.util.Failure -import scala.util.Success -import scala.util.Try +package com.dimajix.flowman.tools.exec.project import org.kohsuke.args4j.Argument -import org.kohsuke.args4j.Option import org.slf4j.LoggerFactory -import com.dimajix.flowman.execution.Context import com.dimajix.flowman.execution.Executor import com.dimajix.flowman.spec.Project import com.dimajix.flowman.tools.exec.ActionCommand diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/util/FileCollector.scala b/flowman-core/src/main/scala/com/dimajix/flowman/util/FileCollector.scala index 167589d0e..bad0f99cd 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/util/FileCollector.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/util/FileCollector.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.util import java.io.StringWriter @@ -13,9 +29,6 @@ import org.apache.velocity.VelocityContext import org.apache.velocity.app.VelocityEngine import org.slf4j.LoggerFactory -import com.dimajix.flowman.execution.Context -import com.dimajix.flowman.spec.schema.SingleValue - /** * Helper class for collecting files from a file system, which also support pattern substitution diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/util/PartitionUtils.scala b/flowman-core/src/main/scala/com/dimajix/flowman/util/PartitionUtils.scala index 9f7705eb1..a2fa0e3b4 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/util/PartitionUtils.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/util/PartitionUtils.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.util diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/util/SchemaUtils.scala b/flowman-core/src/main/scala/com/dimajix/flowman/util/SchemaUtils.scala index 49de55ab0..d3c39ecb2 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/util/SchemaUtils.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/util/SchemaUtils.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.util import org.apache.spark.sql.DataFrame diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/util/SparkUtils.scala b/flowman-core/src/main/scala/com/dimajix/flowman/util/SparkUtils.scala index a7485465e..93f72a6b7 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/util/SparkUtils.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/util/SparkUtils.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.util import org.apache.spark.deploy.SparkHadoopUtil diff --git a/flowman-core/src/main/scala/com/dimajix/flowman/util/package.scala b/flowman-core/src/main/scala/com/dimajix/flowman/util/package.scala index e206c0e04..e71416309 100644 --- a/flowman-core/src/main/scala/com/dimajix/flowman/util/package.scala +++ b/flowman-core/src/main/scala/com/dimajix/flowman/util/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman package object util { diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/DateTimeFormatTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/DateTimeFormatTest.scala index 8e535fa4a..8a8675c75 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/DateTimeFormatTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/DateTimeFormatTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import java.time.Instant diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/JacksonSubtypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/JacksonSubtypeTest.scala index 40018c84d..d7801b746 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/JacksonSubtypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/JacksonSubtypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import com.fasterxml.jackson.annotation.JsonSubTypes diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/JacksonTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/JacksonTest.scala index 8f3e8ff90..1ab94a060 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/JacksonTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/JacksonTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import com.fasterxml.jackson.annotation.JsonBackReference diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/LocalSparkSession.scala b/flowman-core/src/test/scala/com/dimajix/flowman/LocalSparkSession.scala index d69816af9..ac4a707c1 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/LocalSparkSession.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/LocalSparkSession.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import java.io.File @@ -11,9 +27,7 @@ import org.scalatest.BeforeAndAfterAll import org.scalatest.Suite import org.scalatest.mockito.MockitoSugar -/** - * Created by kaya on 18.01.17. - */ + trait LocalSparkSession extends BeforeAndAfterAll with MockitoSugar { this:Suite => var spark: SparkSession = _ diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/MockedSparkSession.scala b/flowman-core/src/test/scala/com/dimajix/flowman/MockedSparkSession.scala index 6357bbd3b..a2cd76cff 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/MockedSparkSession.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/MockedSparkSession.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import org.apache.spark.sql.SparkSession diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/SparkSessionTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/SparkSessionTest.scala index 04a8b4e13..91e004914 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/SparkSessionTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/SparkSessionTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/SqlExpressionTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/SqlExpressionTest.scala index 8b3e6dabf..c4400b151 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/SqlExpressionTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/SqlExpressionTest.scala @@ -1,12 +1,26 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman import org.apache.spark.sql.catalyst.parser.CatalystSqlParser import org.scalatest.FlatSpec import org.scalatest.Matchers -/** - * Created by kaya on 22.09.16. - */ + class SqlExpressionTest extends FlatSpec with Matchers { "The SqlParser" should "parse simple columns" in { val parser = CatalystSqlParser diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/execution/ContextTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/execution/ContextTest.scala index d9aa7f0a1..e115b6191 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/execution/ContextTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/execution/ContextTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/execution/SessionTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/execution/SessionTest.scala index 1d6bdcf45..7406b7a17 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/execution/SessionTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/execution/SessionTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.execution import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameReaderTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameReaderTest.scala index a85c6b0b4..9593ba78a 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameReaderTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameReaderTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameWriterTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameWriterTest.scala index 435b66c4d..6b6e8d4c8 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameWriterTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/DataFrameWriterTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/csv/CsvRelationTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/csv/CsvRelationTest.scala index 798618da2..648f84127 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/csv/CsvRelationTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/sources/local/csv/CsvRelationTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.local.csv import java.nio.file.Files diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/sources/spark/SequenceFileFormatTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/sources/spark/SequenceFileFormatTest.scala index b659e6087..fca3907c3 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/sources/spark/SequenceFileFormatTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/sources/spark/SequenceFileFormatTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.sources.spark import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/ModuleTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/ModuleTest.scala index e8ecd22e1..aa1384ab8 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/ModuleTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/ModuleTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/ValueOrRangeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/ValueOrRangeTest.scala index 5eff30dc4..a6638b34e 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/ValueOrRangeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/ValueOrRangeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec import com.fasterxml.jackson.databind.ObjectMapper diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/flow/InputMappingTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/flow/InputMappingTest.scala index 2392065dc..673986f9b 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/flow/InputMappingTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/flow/InputMappingTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.flow import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/HiveTableRelationTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/HiveTableRelationTest.scala index 86348362e..ac2370fee 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/HiveTableRelationTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/HiveTableRelationTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import org.mockito.Mockito._ diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/LocalRelationTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/LocalRelationTest.scala index 59c083da7..72629e4aa 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/LocalRelationTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/LocalRelationTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import java.io.File diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/NullRelationTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/NullRelationTest.scala index a279f5179..f62fb6f2f 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/NullRelationTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/NullRelationTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import org.apache.spark.sql.types.StringType diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/PluginRelationTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/PluginRelationTest.scala index 5a2fda988..833277a79 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/PluginRelationTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/model/PluginRelationTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.model import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/BooleanTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/BooleanTypeTest.scala index dbd3f94e4..a9998b5f8 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/BooleanTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/BooleanTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ByteTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ByteTypeTest.scala index 5b46ea2da..961aaa435 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ByteTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ByteTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DateTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DateTypeTest.scala index b2125cb69..7e1829496 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DateTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DateTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import java.sql.Date diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DecimalTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DecimalTypeTest.scala index eed3f2ac1..159b1bd37 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DecimalTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/DecimalTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.databind.ObjectMapper diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/FieldTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/FieldTest.scala index 2fd9f9b8c..5d811e287 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/FieldTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/FieldTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.databind.ObjectMapper diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/IntegerTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/IntegerTypeTest.scala index 282bc1979..5a55ccc55 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/IntegerTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/IntegerTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.databind.ObjectMapper diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/LongTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/LongTypeTest.scala index ef3df56da..9dc88e7f1 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/LongTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/LongTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ShortTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ShortTypeTest.scala index ae4a56a70..b0fcc4c89 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ShortTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/ShortTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/TimestampTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/TimestampTypeTest.scala index ac5cae82d..20c48da92 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/TimestampTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/TimestampTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import java.sql.Timestamp diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/VarcharTypeTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/VarcharTypeTest.scala index 3d65ab87c..8a7b3bece 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/VarcharTypeTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/schema/VarcharTypeTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.schema import com.fasterxml.jackson.databind.ObjectMapper diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spec/task/OutputTaskTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spec/task/OutputTaskTest.scala index 42499cefe..c9997529d 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spec/task/OutputTaskTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spec/task/OutputTaskTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spec.task import org.scalatest.FlatSpec diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/spi/CustomRelationProvider.scala b/flowman-core/src/test/scala/com/dimajix/flowman/spi/CustomRelationProvider.scala index 5f5402e83..d51cce35e 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/spi/CustomRelationProvider.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/spi/CustomRelationProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.spi import com.fasterxml.jackson.annotation.JsonTypeName diff --git a/flowman-core/src/test/scala/com/dimajix/flowman/util/PartitionUtilsTest.scala b/flowman-core/src/test/scala/com/dimajix/flowman/util/PartitionUtilsTest.scala index c7eff4b0b..21d9bfb45 100644 --- a/flowman-core/src/test/scala/com/dimajix/flowman/util/PartitionUtilsTest.scala +++ b/flowman-core/src/test/scala/com/dimajix/flowman/util/PartitionUtilsTest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Kaya Kupferschmidt + * + * 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. + */ + package com.dimajix.flowman.util import org.scalatest.FlatSpec