diff --git a/.github/workflows/check-header.yml b/.github/workflows/check-header.yml new file mode 100644 index 00000000000..e25342108cd --- /dev/null +++ b/.github/workflows/check-header.yml @@ -0,0 +1,17 @@ +name: Release Auditing + +on: + push: + branches: + - 'ci-enable/**' + - 'master' + pull_request: + workflow_dispatch: + +jobs: + test: + name: Check License Headers + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: erisu/apache-rat-action@v1 \ No newline at end of file diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 25d2f30b627..8569b9a42d2 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + name: build on: @@ -123,4 +140,4 @@ jobs: cd core/amber/src/main/python && flake8 && black . --check - name: Test with pytest run: | - cd core/amber/src/main/python && pytest -sv + cd core/amber/src/main/python && pytest -sv \ No newline at end of file diff --git a/.ratignore b/.ratignore new file mode 100644 index 00000000000..f337a479ba7 --- /dev/null +++ b/.ratignore @@ -0,0 +1,24 @@ +.dockerignore +.gitattributes +.gitignore +.ratignore +README.md +DESCRIPTION +100.jsonl +1000.jsonl +yarn.lock +.nvmrc +.htaccess +.gitkeep +site.webmanifest +line_numbers.txt +line_numbers_crlf.txt +numbers.txt +random_data.csv +a.csv +country_sales_headerless_small.csv +country_sales_headerless_small_multi_line.csv +country_sales_headerless_small_multi_line_custom_delimiter.csv +country_sales_medium.csv +country_sales_small.csv +country_sales_small_multi_line.csv \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2977cbc7aa4..0c6aef6748f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + FROM node:18-alpine AS nodegui WORKDIR /gui diff --git a/core/.scalafix.conf b/core/.scalafix.conf index c79b7c47340..238028c0ce4 100644 --- a/core/.scalafix.conf +++ b/core/.scalafix.conf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + rules = [ ProcedureSyntax, RemoveUnused, diff --git a/core/.scalafmt.conf b/core/.scalafmt.conf index ffe5deb092b..8ed0d7e717f 100644 --- a/core/.scalafmt.conf +++ b/core/.scalafmt.conf @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + version=2.6.4 maxColumn = 100 diff --git a/core/amber/.scalafix.conf b/core/amber/.scalafix.conf index c79b7c47340..238028c0ce4 100644 --- a/core/amber/.scalafix.conf +++ b/core/amber/.scalafix.conf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + rules = [ ProcedureSyntax, RemoveUnused, diff --git a/core/amber/.scalafmt.conf b/core/amber/.scalafmt.conf index 9ba3cda5b3f..3c5f3019cf2 100644 --- a/core/amber/.scalafmt.conf +++ b/core/amber/.scalafmt.conf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + version=2.6.4 maxColumn = 100 diff --git a/core/amber/build.sbt b/core/amber/build.sbt index 151419501cd..69aec3ab03c 100644 --- a/core/amber/build.sbt +++ b/core/amber/build.sbt @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + name := "texera" organization := "edu.uci.ics" version := "0.1-SNAPSHOT" diff --git a/core/amber/operator-requirements.txt b/core/amber/operator-requirements.txt index 7a97d50a2fb..c13923241ec 100644 --- a/core/amber/operator-requirements.txt +++ b/core/amber/operator-requirements.txt @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + wordcloud==1.9.3 plotly==5.24.1 praw==7.6.1 diff --git a/core/amber/project/build.properties b/core/amber/project/build.properties index 4d5f78cc412..8051f528b67 100644 --- a/core/amber/project/build.properties +++ b/core/amber/project/build.properties @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + sbt.version=1.9.9 \ No newline at end of file diff --git a/core/amber/project/plugins.sbt b/core/amber/project/plugins.sbt index 9f531826c59..e7f4b750e14 100644 --- a/core/amber/project/plugins.sbt +++ b/core/amber/project/plugins.sbt @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0") diff --git a/core/amber/r-requirements.txt b/core/amber/r-requirements.txt index 1322b60397e..1216cdce4f5 100644 --- a/core/amber/r-requirements.txt +++ b/core/amber/r-requirements.txt @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + rpy2==3.5.11 rpy2-arrow==0.0.8 \ No newline at end of file diff --git a/core/amber/requirements.txt b/core/amber/requirements.txt index 4e2c477ea53..d6a418f3300 100644 --- a/core/amber/requirements.txt +++ b/core/amber/requirements.txt @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + wheel==0.41.2 numpy==1.26.4 pandas==2.2.2 diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlcommands.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlcommands.proto index d9819affa2a..5e033d36167 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlcommands.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlcommands.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.rpc; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controllerservice.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controllerservice.proto index de4a1e6d38d..d730afff327 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controllerservice.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controllerservice.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.rpc; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlreturns.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlreturns.proto index a7338c28a5a..2e6e75bdfad 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlreturns.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/controlreturns.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.rpc; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/testerservice.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/testerservice.proto index 2e131090180..bc5dad3a0ec 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/testerservice.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/testerservice.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.rpc; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/workerservice.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/workerservice.proto index d24a855c476..02fb5ac5b3c 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/workerservice.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/rpc/workerservice.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.rpc; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/sendsemantics/partitionings.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/sendsemantics/partitionings.proto index dfab32705b2..950ae366037 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/sendsemantics/partitionings.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/sendsemantics/partitionings.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.sendsemantics; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/worker/statistics.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/worker/statistics.proto index 09cfcfacd87..fa8f7efb948 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/worker/statistics.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/architecture/worker/statistics.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.architecture.worker; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/actormessage.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/actormessage.proto index 9dc08176fef..6ada8e3c046 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/actormessage.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/actormessage.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.common; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/ambermessage.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/ambermessage.proto index 3b7c50ead7c..5947ed27b15 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/ambermessage.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/ambermessage.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.common; diff --git a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/executionruntimestate.proto b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/executionruntimestate.proto index ecdb5e6edcd..3f23c0c44d0 100644 --- a/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/executionruntimestate.proto +++ b/core/amber/src/main/protobuf/edu/uci/ics/amber/engine/common/executionruntimestate.proto @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + syntax = "proto3"; package edu.uci.ics.amber.engine.common; diff --git a/core/amber/src/main/python/.flake8 b/core/amber/src/main/python/.flake8 index 071776ddc00..5353d6fb5a4 100644 --- a/core/amber/src/main/python/.flake8 +++ b/core/amber/src/main/python/.flake8 @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + [flake8] extend-ignore = F403, diff --git a/core/amber/src/main/python/core/__init__.py b/core/amber/src/main/python/core/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/__init__.py +++ b/core/amber/src/main/python/core/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/architecture/__init__.py b/core/amber/src/main/python/core/architecture/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/architecture/__init__.py +++ b/core/amber/src/main/python/core/architecture/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/architecture/handlers/__init__.py b/core/amber/src/main/python/core/architecture/handlers/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/architecture/handlers/__init__.py +++ b/core/amber/src/main/python/core/architecture/handlers/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/architecture/handlers/actorcommand/actor_handler_base.py b/core/amber/src/main/python/core/architecture/handlers/actorcommand/actor_handler_base.py index 73ae546281c..fc24f31dcf3 100644 --- a/core/amber/src/main/python/core/architecture/handlers/actorcommand/actor_handler_base.py +++ b/core/amber/src/main/python/core/architecture/handlers/actorcommand/actor_handler_base.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABC from core.models import InternalQueue diff --git a/core/amber/src/main/python/core/architecture/handlers/actorcommand/backpressure_handler.py b/core/amber/src/main/python/core/architecture/handlers/actorcommand/backpressure_handler.py index d549cc3a22a..a42485eb907 100644 --- a/core/amber/src/main/python/core/architecture/handlers/actorcommand/backpressure_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/actorcommand/backpressure_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.actorcommand.actor_handler_base import ( ActorCommandHandler, ) diff --git a/core/amber/src/main/python/core/architecture/handlers/actorcommand/credit_update_handler.py b/core/amber/src/main/python/core/architecture/handlers/actorcommand/credit_update_handler.py index feb0b7ca9ce..c42f5df75d4 100644 --- a/core/amber/src/main/python/core/architecture/handlers/actorcommand/credit_update_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/actorcommand/credit_update_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.actorcommand.actor_handler_base import ( ActorCommandHandler, ) diff --git a/core/amber/src/main/python/core/architecture/handlers/control/__init__.py b/core/amber/src/main/python/core/architecture/handlers/control/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/__init__.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/architecture/handlers/control/add_input_channel_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/add_input_channel_handler.py index 8d6644bf3bf..de7630dd0ba 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/add_input_channel_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/add_input_channel_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from proto.edu.uci.ics.amber.engine.architecture.rpc import ( EmptyReturn, diff --git a/core/amber/src/main/python/core/architecture/handlers/control/add_partitioning_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/add_partitioning_handler.py index f09353895eb..dc4bc160977 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/add_partitioning_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/add_partitioning_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from proto.edu.uci.ics.amber.engine.architecture.rpc import ( EmptyReturn, diff --git a/core/amber/src/main/python/core/architecture/handlers/control/assign_port_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/assign_port_handler.py index 5691434a21b..c768b45278b 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/assign_port_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/assign_port_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from core.models import Schema from proto.edu.uci.ics.amber.engine.architecture.rpc import ( diff --git a/core/amber/src/main/python/core/architecture/handlers/control/control_handler_base.py b/core/amber/src/main/python/core/architecture/handlers/control/control_handler_base.py index e81a4692322..49d246b0838 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/control_handler_base.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/control_handler_base.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from proto.edu.uci.ics.amber.engine.architecture.rpc import WorkerServiceBase diff --git a/core/amber/src/main/python/core/architecture/handlers/control/debug_command_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/debug_command_handler.py index 3eb8aecedba..f626ecdabfc 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/debug_command_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/debug_command_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from core.architecture.managers.context import Context from core.architecture.managers.pause_manager import PauseType diff --git a/core/amber/src/main/python/core/architecture/handlers/control/evaluate_expression_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/evaluate_expression_handler.py index 1af3bbeebb6..8138150d0d5 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/evaluate_expression_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/evaluate_expression_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from core.util.expression_evaluator import ExpressionEvaluator from proto.edu.uci.ics.amber.engine.architecture.rpc import ( diff --git a/core/amber/src/main/python/core/architecture/handlers/control/initialize_executor_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/initialize_executor_handler.py index 9ae770fca13..dd86ca49829 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/initialize_executor_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/initialize_executor_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from core.util import get_one_of from proto.edu.uci.ics.amber.core import OpExecWithCode diff --git a/core/amber/src/main/python/core/architecture/handlers/control/no_operation_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/no_operation_handler.py index 6cab2eb0850..350f163358a 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/no_operation_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/no_operation_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from proto.edu.uci.ics.amber.engine.architecture.rpc import ( EmptyReturn, diff --git a/core/amber/src/main/python/core/architecture/handlers/control/open_executor_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/open_executor_handler.py index e8443686f4d..16fdd791d77 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/open_executor_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/open_executor_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from proto.edu.uci.ics.amber.engine.architecture.rpc import EmptyReturn, EmptyRequest diff --git a/core/amber/src/main/python/core/architecture/handlers/control/pause_worker_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/pause_worker_handler.py index 0784c7cdbc4..8ecb3ead2d0 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/pause_worker_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/pause_worker_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from core.architecture.managers.pause_manager import PauseType from proto.edu.uci.ics.amber.engine.architecture.rpc import ( diff --git a/core/amber/src/main/python/core/architecture/handlers/control/query_statistics_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/query_statistics_handler.py index c0dc37eb98b..8f791e2e515 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/query_statistics_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/query_statistics_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from proto.edu.uci.ics.amber.engine.architecture.rpc import ( WorkerMetricsResponse, EmptyRequest, diff --git a/core/amber/src/main/python/core/architecture/handlers/control/replay_current_tuple_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/replay_current_tuple_handler.py index 61c4ddf0b01..077242ae343 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/replay_current_tuple_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/replay_current_tuple_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import itertools from core.architecture.handlers.control.control_handler_base import ControlHandler diff --git a/core/amber/src/main/python/core/architecture/handlers/control/resume_worker_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/resume_worker_handler.py index e1c689f1e75..42904ec4a7c 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/resume_worker_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/resume_worker_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.control_handler_base import ControlHandler from core.architecture.managers.pause_manager import PauseType from proto.edu.uci.ics.amber.engine.architecture.rpc import ( diff --git a/core/amber/src/main/python/core/architecture/handlers/control/start_worker_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/start_worker_handler.py index bcdbe2325df..1ddc2f5e018 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/start_worker_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/start_worker_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.models import Schema from proto.edu.uci.ics.amber.core import ( ChannelIdentity, diff --git a/core/amber/src/main/python/core/architecture/handlers/control/update_executor_handler.py b/core/amber/src/main/python/core/architecture/handlers/control/update_executor_handler.py index 9b00aa2711a..402a0bf0438 100644 --- a/core/amber/src/main/python/core/architecture/handlers/control/update_executor_handler.py +++ b/core/amber/src/main/python/core/architecture/handlers/control/update_executor_handler.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # from proto.edu.uci.ics.amber.engine.architecture.worker import UpdateExecutorV2 # from core.architecture.handlers.control.control_handler_base import ControlHandler # from core.architecture.managers.context import Context diff --git a/core/amber/src/main/python/core/architecture/managers/__init__.py b/core/amber/src/main/python/core/architecture/managers/__init__.py index d0de644b497..dae74d4f915 100644 --- a/core/amber/src/main/python/core/architecture/managers/__init__.py +++ b/core/amber/src/main/python/core/architecture/managers/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .context import Context from .pause_manager import PauseManager from .state_manager import StateManager diff --git a/core/amber/src/main/python/core/architecture/managers/channel_marker_manager.py b/core/amber/src/main/python/core/architecture/managers/channel_marker_manager.py index b38bc5ec41c..9166b32bad4 100644 --- a/core/amber/src/main/python/core/architecture/managers/channel_marker_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/channel_marker_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from collections import defaultdict from typing import Set, Dict diff --git a/core/amber/src/main/python/core/architecture/managers/console_message_manager.py b/core/amber/src/main/python/core/architecture/managers/console_message_manager.py index 51612dd18db..9184430148a 100644 --- a/core/amber/src/main/python/core/architecture/managers/console_message_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/console_message_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Iterator from core.util.buffer.timed_buffer import TimedBuffer diff --git a/core/amber/src/main/python/core/architecture/managers/context.py b/core/amber/src/main/python/core/architecture/managers/context.py index 1a78e8b4774..43412a1d574 100644 --- a/core/amber/src/main/python/core/architecture/managers/context.py +++ b/core/amber/src/main/python/core/architecture/managers/context.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from proto.edu.uci.ics.amber.core import ActorVirtualIdentity, ChannelIdentity from proto.edu.uci.ics.amber.engine.architecture.worker import WorkerState from typing import Optional diff --git a/core/amber/src/main/python/core/architecture/managers/debug_manager.py b/core/amber/src/main/python/core/architecture/managers/debug_manager.py index 512a08208f7..99a5aa7ee85 100644 --- a/core/amber/src/main/python/core/architecture/managers/debug_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/debug_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pdb import Pdb from threading import Condition diff --git a/core/amber/src/main/python/core/architecture/managers/exception_manager.py b/core/amber/src/main/python/core/architecture/managers/exception_manager.py index 318642c72c8..f3ea4dd4bf1 100644 --- a/core/amber/src/main/python/core/architecture/managers/exception_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/exception_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Optional, List from core.models import ExceptionInfo diff --git a/core/amber/src/main/python/core/architecture/managers/executor_manager.py b/core/amber/src/main/python/core/architecture/managers/executor_manager.py index 238e6c3f9a1..87333d1ce63 100644 --- a/core/amber/src/main/python/core/architecture/managers/executor_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/executor_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import importlib import inspect import sys diff --git a/core/amber/src/main/python/core/architecture/managers/marker_processing_manager.py b/core/amber/src/main/python/core/architecture/managers/marker_processing_manager.py index 6a865544360..05611841157 100644 --- a/core/amber/src/main/python/core/architecture/managers/marker_processing_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/marker_processing_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Optional from core.models.marker import State, Marker diff --git a/core/amber/src/main/python/core/architecture/managers/pause_manager.py b/core/amber/src/main/python/core/architecture/managers/pause_manager.py index a156e24df1a..3d0e8dd7086 100644 --- a/core/amber/src/main/python/core/architecture/managers/pause_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/pause_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from collections import defaultdict from enum import Enum diff --git a/core/amber/src/main/python/core/architecture/managers/state_manager.py b/core/amber/src/main/python/core/architecture/managers/state_manager.py index b47008d6688..e80b6d5fc4f 100644 --- a/core/amber/src/main/python/core/architecture/managers/state_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/state_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Dict, Set, Tuple, Union from typing_extensions import T diff --git a/core/amber/src/main/python/core/architecture/managers/statistics_manager.py b/core/amber/src/main/python/core/architecture/managers/statistics_manager.py index ffc167931c1..d4cf6d6e363 100644 --- a/core/amber/src/main/python/core/architecture/managers/statistics_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/statistics_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import DefaultDict from collections import defaultdict diff --git a/core/amber/src/main/python/core/architecture/managers/test_pause_manager.py b/core/amber/src/main/python/core/architecture/managers/test_pause_manager.py index 3d5502c4537..19ad007adae 100644 --- a/core/amber/src/main/python/core/architecture/managers/test_pause_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/test_pause_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest from core.architecture.managers import StateManager diff --git a/core/amber/src/main/python/core/architecture/managers/test_state_manager.py b/core/amber/src/main/python/core/architecture/managers/test_state_manager.py index fab18cae35d..dca346d151b 100644 --- a/core/amber/src/main/python/core/architecture/managers/test_state_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/test_state_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest from core.architecture.managers.state_manager import ( diff --git a/core/amber/src/main/python/core/architecture/managers/tuple_processing_manager.py b/core/amber/src/main/python/core/architecture/managers/tuple_processing_manager.py index 0b4ddb6871b..6810d08731f 100644 --- a/core/amber/src/main/python/core/architecture/managers/tuple_processing_manager.py +++ b/core/amber/src/main/python/core/architecture/managers/tuple_processing_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from threading import Event, Condition from typing import Optional, Tuple, Iterator diff --git a/core/amber/src/main/python/core/architecture/packaging/__init__.py b/core/amber/src/main/python/core/architecture/packaging/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/architecture/packaging/__init__.py +++ b/core/amber/src/main/python/core/architecture/packaging/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/architecture/packaging/input_manager.py b/core/amber/src/main/python/core/architecture/packaging/input_manager.py index 3e1712d2e7b..c8b65d6bb54 100644 --- a/core/amber/src/main/python/core/architecture/packaging/input_manager.py +++ b/core/amber/src/main/python/core/architecture/packaging/input_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Iterator, Optional, Union, Dict, List from pyarrow.lib import Table from core.models import Tuple, ArrowTableTupleProvider, Schema diff --git a/core/amber/src/main/python/core/architecture/packaging/output_manager.py b/core/amber/src/main/python/core/architecture/packaging/output_manager.py index e1874be228c..09c3008ab73 100644 --- a/core/amber/src/main/python/core/architecture/packaging/output_manager.py +++ b/core/amber/src/main/python/core/architecture/packaging/output_manager.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import threading import typing from collections import OrderedDict diff --git a/core/amber/src/main/python/core/architecture/rpc/async_rpc_client.py b/core/amber/src/main/python/core/architecture/rpc/async_rpc_client.py index 206c3a40a53..92f2dfebbaa 100644 --- a/core/amber/src/main/python/core/architecture/rpc/async_rpc_client.py +++ b/core/amber/src/main/python/core/architecture/rpc/async_rpc_client.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import asyncio import inspect from collections import defaultdict diff --git a/core/amber/src/main/python/core/architecture/rpc/async_rpc_handler_initializer.py b/core/amber/src/main/python/core/architecture/rpc/async_rpc_handler_initializer.py index e224b6c39b6..c5ad5d7d019 100644 --- a/core/amber/src/main/python/core/architecture/rpc/async_rpc_handler_initializer.py +++ b/core/amber/src/main/python/core/architecture/rpc/async_rpc_handler_initializer.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.architecture.handlers.control.add_input_channel_handler import ( AddInputChannelHandler, ) diff --git a/core/amber/src/main/python/core/architecture/rpc/async_rpc_server.py b/core/amber/src/main/python/core/architecture/rpc/async_rpc_server.py index 9db03cb4e01..0a63077d977 100644 --- a/core/amber/src/main/python/core/architecture/rpc/async_rpc_server.py +++ b/core/amber/src/main/python/core/architecture/rpc/async_rpc_server.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import grpclib.const from loguru import logger import asyncio diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/__init__.py b/core/amber/src/main/python/core/architecture/sendsemantics/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/__init__.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/broad_cast_partitioner.py b/core/amber/src/main/python/core/architecture/sendsemantics/broad_cast_partitioner.py index c5ca0fad369..4f87db8c512 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/broad_cast_partitioner.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/broad_cast_partitioner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing from typing import Iterator diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/hash_based_shuffle_partitioner.py b/core/amber/src/main/python/core/architecture/sendsemantics/hash_based_shuffle_partitioner.py index 775bd94b028..d9f250016a4 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/hash_based_shuffle_partitioner.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/hash_based_shuffle_partitioner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing from typing import Iterator diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/one_to_one_partitioner.py b/core/amber/src/main/python/core/architecture/sendsemantics/one_to_one_partitioner.py index 81e623ab6a0..41d23b9e00c 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/one_to_one_partitioner.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/one_to_one_partitioner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing from typing import Iterator diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/partitioner.py b/core/amber/src/main/python/core/architecture/sendsemantics/partitioner.py index 2220b350abc..196d554252e 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/partitioner.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/partitioner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing from abc import ABC from typing import Iterator diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/range_based_shuffle_partitioner.py b/core/amber/src/main/python/core/architecture/sendsemantics/range_based_shuffle_partitioner.py index dee786c649a..cc5427c04db 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/range_based_shuffle_partitioner.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/range_based_shuffle_partitioner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing from typing import Iterator diff --git a/core/amber/src/main/python/core/architecture/sendsemantics/round_robin_partitioner.py b/core/amber/src/main/python/core/architecture/sendsemantics/round_robin_partitioner.py index 4baa1463193..00e2e04a0e3 100644 --- a/core/amber/src/main/python/core/architecture/sendsemantics/round_robin_partitioner.py +++ b/core/amber/src/main/python/core/architecture/sendsemantics/round_robin_partitioner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing from typing import Iterator diff --git a/core/amber/src/main/python/core/models/RTableExecutor.py b/core/amber/src/main/python/core/models/RTableExecutor.py index f358f1c061a..1eb8d92b4de 100644 --- a/core/amber/src/main/python/core/models/RTableExecutor.py +++ b/core/amber/src/main/python/core/models/RTableExecutor.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pyarrow as pa import rpy2.robjects as robjects from rpy2_arrow.arrow import rarrow_to_py_table, converter as arrow_converter diff --git a/core/amber/src/main/python/core/models/RTupleExecutor.py b/core/amber/src/main/python/core/models/RTupleExecutor.py index c58f2113441..d6907248ec1 100644 --- a/core/amber/src/main/python/core/models/RTupleExecutor.py +++ b/core/amber/src/main/python/core/models/RTupleExecutor.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pickle import datetime import pyarrow as pa diff --git a/core/amber/src/main/python/core/models/__init__.py b/core/amber/src/main/python/core/models/__init__.py index eed6afe670c..f29525a78bc 100644 --- a/core/amber/src/main/python/core/models/__init__.py +++ b/core/amber/src/main/python/core/models/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from inspect import Traceback from typing import NamedTuple diff --git a/core/amber/src/main/python/core/models/batch.py b/core/amber/src/main/python/core/models/batch.py index 0815ee9c8a2..ae6c41118fe 100644 --- a/core/amber/src/main/python/core/models/batch.py +++ b/core/amber/src/main/python/core/models/batch.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import TypeVar import pandas diff --git a/core/amber/src/main/python/core/models/internal_marker.py b/core/amber/src/main/python/core/models/internal_marker.py index 2f722260054..fdab079aca3 100644 --- a/core/amber/src/main/python/core/models/internal_marker.py +++ b/core/amber/src/main/python/core/models/internal_marker.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from dataclasses import dataclass from core.models.marker import Marker diff --git a/core/amber/src/main/python/core/models/internal_queue.py b/core/amber/src/main/python/core/models/internal_queue.py index e24d580bee7..cb73fda2706 100644 --- a/core/amber/src/main/python/core/models/internal_queue.py +++ b/core/amber/src/main/python/core/models/internal_queue.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from __future__ import annotations from dataclasses import dataclass diff --git a/core/amber/src/main/python/core/models/marker.py b/core/amber/src/main/python/core/models/marker.py index b53e44e9322..3a8c5c6f698 100644 --- a/core/amber/src/main/python/core/models/marker.py +++ b/core/amber/src/main/python/core/models/marker.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from dataclasses import dataclass from pandas import DataFrame from pyarrow import Table diff --git a/core/amber/src/main/python/core/models/operator.py b/core/amber/src/main/python/core/models/operator.py index 2e420d37f8b..2db5b51bbc9 100644 --- a/core/amber/src/main/python/core/models/operator.py +++ b/core/amber/src/main/python/core/models/operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABC, abstractmethod from collections import defaultdict from typing import Iterator, List, Mapping, Optional, Union, MutableMapping diff --git a/core/amber/src/main/python/core/models/payload.py b/core/amber/src/main/python/core/models/payload.py index 2977528a58f..ff918ecabc1 100644 --- a/core/amber/src/main/python/core/models/payload.py +++ b/core/amber/src/main/python/core/models/payload.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from dataclasses import dataclass from pyarrow.lib import Table from core.models.marker import Marker diff --git a/core/amber/src/main/python/core/models/r_utils.py b/core/amber/src/main/python/core/models/r_utils.py index 92cd164b18c..94c900f7be8 100644 --- a/core/amber/src/main/python/core/models/r_utils.py +++ b/core/amber/src/main/python/core/models/r_utils.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import rpy2 import rpy2.rinterface as rinterface import rpy2.robjects as robjects diff --git a/core/amber/src/main/python/core/models/schema/__init__.py b/core/amber/src/main/python/core/models/schema/__init__.py index a31ad0cffbe..7c8b57bb316 100644 --- a/core/amber/src/main/python/core/models/schema/__init__.py +++ b/core/amber/src/main/python/core/models/schema/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .attribute_type import AttributeType from .field import Field from .schema import Schema diff --git a/core/amber/src/main/python/core/models/schema/attribute_type.py b/core/amber/src/main/python/core/models/schema/attribute_type.py index dc917217a93..f86a4a1d782 100644 --- a/core/amber/src/main/python/core/models/schema/attribute_type.py +++ b/core/amber/src/main/python/core/models/schema/attribute_type.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import datetime from enum import Enum diff --git a/core/amber/src/main/python/core/models/schema/field.py b/core/amber/src/main/python/core/models/schema/field.py index 90611c480e2..59fef5e4d67 100644 --- a/core/amber/src/main/python/core/models/schema/field.py +++ b/core/amber/src/main/python/core/models/schema/field.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import datetime from typing import TypeVar, Optional diff --git a/core/amber/src/main/python/core/models/schema/schema.py b/core/amber/src/main/python/core/models/schema/schema.py index 85589b2f357..a2c8bdb56cd 100644 --- a/core/amber/src/main/python/core/models/schema/schema.py +++ b/core/amber/src/main/python/core/models/schema/schema.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from collections import OrderedDict from typing import MutableMapping, Optional, Mapping, List, Tuple diff --git a/core/amber/src/main/python/core/models/schema/test_schema.py b/core/amber/src/main/python/core/models/schema/test_schema.py index eeafa154a04..01d17efce14 100644 --- a/core/amber/src/main/python/core/models/schema/test_schema.py +++ b/core/amber/src/main/python/core/models/schema/test_schema.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest import pyarrow as pa diff --git a/core/amber/src/main/python/core/models/single_blocking_io.py b/core/amber/src/main/python/core/models/single_blocking_io.py index 6d47d5921ac..3dd1c761ff0 100644 --- a/core/amber/src/main/python/core/models/single_blocking_io.py +++ b/core/amber/src/main/python/core/models/single_blocking_io.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from __future__ import annotations from threading import Condition diff --git a/core/amber/src/main/python/core/models/table.py b/core/amber/src/main/python/core/models/table.py index c2f51878262..3f3a1fdac09 100644 --- a/core/amber/src/main/python/core/models/table.py +++ b/core/amber/src/main/python/core/models/table.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Iterator, TypeVar, List from pampy import match diff --git a/core/amber/src/main/python/core/models/test_RTableExecutor.py b/core/amber/src/main/python/core/models/test_RTableExecutor.py index ba1a6c413ea..0760fd0bf13 100644 --- a/core/amber/src/main/python/core/models/test_RTableExecutor.py +++ b/core/amber/src/main/python/core/models/test_RTableExecutor.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pandas import pytest import rpy2.rinterface_lib.embedded diff --git a/core/amber/src/main/python/core/models/test_table.py b/core/amber/src/main/python/core/models/test_table.py index 43492308c66..55fcb87db95 100644 --- a/core/amber/src/main/python/core/models/test_table.py +++ b/core/amber/src/main/python/core/models/test_table.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import datetime import pickle diff --git a/core/amber/src/main/python/core/models/test_tuple.py b/core/amber/src/main/python/core/models/test_tuple.py index 5216ddec00d..854c49ac70b 100644 --- a/core/amber/src/main/python/core/models/test_tuple.py +++ b/core/amber/src/main/python/core/models/test_tuple.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import datetime import pandas diff --git a/core/amber/src/main/python/core/models/tuple.py b/core/amber/src/main/python/core/models/tuple.py index 2eeb65d4abb..d85f71496ed 100644 --- a/core/amber/src/main/python/core/models/tuple.py +++ b/core/amber/src/main/python/core/models/tuple.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import ctypes import struct import typing diff --git a/core/amber/src/main/python/core/proxy/__init__.py b/core/amber/src/main/python/core/proxy/__init__.py index 9ccdd841cbb..d2324dbdca5 100644 --- a/core/amber/src/main/python/core/proxy/__init__.py +++ b/core/amber/src/main/python/core/proxy/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .proxy_client import ProxyClient from .proxy_server import ProxyServer diff --git a/core/amber/src/main/python/core/proxy/proxy_client.py b/core/amber/src/main/python/core/proxy/proxy_client.py index 9051e27e75f..4f0055e5391 100644 --- a/core/amber/src/main/python/core/proxy/proxy_client.py +++ b/core/amber/src/main/python/core/proxy/proxy_client.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from loguru import logger from pyarrow import Table, Buffer from pyarrow.flight import ( diff --git a/core/amber/src/main/python/core/proxy/proxy_server.py b/core/amber/src/main/python/core/proxy/proxy_server.py index 48554b99d72..fb69b16bd54 100644 --- a/core/amber/src/main/python/core/proxy/proxy_server.py +++ b/core/amber/src/main/python/core/proxy/proxy_server.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import threading from functools import wraps from inspect import signature diff --git a/core/amber/src/main/python/core/proxy/test_proxy_client.py b/core/amber/src/main/python/core/proxy/test_proxy_client.py index 51b5e29e317..8dbf2d5cf94 100644 --- a/core/amber/src/main/python/core/proxy/test_proxy_client.py +++ b/core/amber/src/main/python/core/proxy/test_proxy_client.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from queue import Queue import pytest diff --git a/core/amber/src/main/python/core/proxy/test_proxy_server.py b/core/amber/src/main/python/core/proxy/test_proxy_server.py index 3764b6f74c8..a4a422e16f8 100644 --- a/core/amber/src/main/python/core/proxy/test_proxy_server.py +++ b/core/amber/src/main/python/core/proxy/test_proxy_server.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest from pyarrow.flight import Action diff --git a/core/amber/src/main/python/core/python_worker.py b/core/amber/src/main/python/core/python_worker.py index 866477e13c5..bcd0652d596 100644 --- a/core/amber/src/main/python/core/python_worker.py +++ b/core/amber/src/main/python/core/python_worker.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from overrides import overrides from threading import Thread, Event diff --git a/core/amber/src/main/python/core/runnables/__init__.py b/core/amber/src/main/python/core/runnables/__init__.py index bb89228c9a2..d132bd3cdeb 100644 --- a/core/amber/src/main/python/core/runnables/__init__.py +++ b/core/amber/src/main/python/core/runnables/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .network_receiver import NetworkReceiver from .network_sender import NetworkSender from .main_loop import MainLoop diff --git a/core/amber/src/main/python/core/runnables/data_processor.py b/core/amber/src/main/python/core/runnables/data_processor.py index d34d7ffef7a..8716b280cb6 100644 --- a/core/amber/src/main/python/core/runnables/data_processor.py +++ b/core/amber/src/main/python/core/runnables/data_processor.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import os import sys import traceback diff --git a/core/amber/src/main/python/core/runnables/heartbeat.py b/core/amber/src/main/python/core/runnables/heartbeat.py index aa537348032..b966a86d172 100644 --- a/core/amber/src/main/python/core/runnables/heartbeat.py +++ b/core/amber/src/main/python/core/runnables/heartbeat.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from overrides import overrides from threading import Event from loguru import logger diff --git a/core/amber/src/main/python/core/runnables/main_loop.py b/core/amber/src/main/python/core/runnables/main_loop.py index f2bdbdaf8e4..d7ef4e883a3 100644 --- a/core/amber/src/main/python/core/runnables/main_loop.py +++ b/core/amber/src/main/python/core/runnables/main_loop.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import threading import time import typing diff --git a/core/amber/src/main/python/core/runnables/network_receiver.py b/core/amber/src/main/python/core/runnables/network_receiver.py index fc548e54f85..70bcba94c9d 100644 --- a/core/amber/src/main/python/core/runnables/network_receiver.py +++ b/core/amber/src/main/python/core/runnables/network_receiver.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from loguru import logger from overrides import overrides from pyarrow.lib import Table diff --git a/core/amber/src/main/python/core/runnables/network_sender.py b/core/amber/src/main/python/core/runnables/network_sender.py index 2e610542b30..fa1378b8e25 100644 --- a/core/amber/src/main/python/core/runnables/network_sender.py +++ b/core/amber/src/main/python/core/runnables/network_sender.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from typing import Optional from loguru import logger diff --git a/core/amber/src/main/python/core/runnables/test_console_message.py b/core/amber/src/main/python/core/runnables/test_console_message.py index dbffe05b5f9..aa3e378088d 100644 --- a/core/amber/src/main/python/core/runnables/test_console_message.py +++ b/core/amber/src/main/python/core/runnables/test_console_message.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest import datetime from core.models.internal_queue import InternalQueue diff --git a/core/amber/src/main/python/core/runnables/test_main_loop.py b/core/amber/src/main/python/core/runnables/test_main_loop.py index 67460bf921f..44ff9567d64 100644 --- a/core/amber/src/main/python/core/runnables/test_main_loop.py +++ b/core/amber/src/main/python/core/runnables/test_main_loop.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import inspect from threading import Thread diff --git a/core/amber/src/main/python/core/runnables/test_network_receiver.py b/core/amber/src/main/python/core/runnables/test_network_receiver.py index 0aca234f577..d0e2df83a5f 100644 --- a/core/amber/src/main/python/core/runnables/test_network_receiver.py +++ b/core/amber/src/main/python/core/runnables/test_network_receiver.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import threading import pytest diff --git a/core/amber/src/main/python/core/runnables/test_network_sender.py b/core/amber/src/main/python/core/runnables/test_network_sender.py index d24ffaf1e5d..263182cb165 100644 --- a/core/amber/src/main/python/core/runnables/test_network_sender.py +++ b/core/amber/src/main/python/core/runnables/test_network_sender.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import threading from time import sleep diff --git a/core/amber/src/main/python/core/storage/__init__.py b/core/amber/src/main/python/core/storage/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/storage/__init__.py +++ b/core/amber/src/main/python/core/storage/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/storage/document_factory.py b/core/amber/src/main/python/core/storage/document_factory.py index ea7c2e5cc13..48e08d07ceb 100644 --- a/core/amber/src/main/python/core/storage/document_factory.py +++ b/core/amber/src/main/python/core/storage/document_factory.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import typing import urllib from urllib.parse import urlparse diff --git a/core/amber/src/main/python/core/storage/iceberg/__init__.py b/core/amber/src/main/python/core/storage/iceberg/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/storage/iceberg/__init__.py +++ b/core/amber/src/main/python/core/storage/iceberg/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/storage/iceberg/iceberg_catalog_instance.py b/core/amber/src/main/python/core/storage/iceberg/iceberg_catalog_instance.py index 2a3e9578759..b1478fadf03 100644 --- a/core/amber/src/main/python/core/storage/iceberg/iceberg_catalog_instance.py +++ b/core/amber/src/main/python/core/storage/iceberg/iceberg_catalog_instance.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pyiceberg.catalog import Catalog from typing import Optional diff --git a/core/amber/src/main/python/core/storage/iceberg/iceberg_document.py b/core/amber/src/main/python/core/storage/iceberg/iceberg_document.py index 9d15336dff5..4ce3dc42492 100644 --- a/core/amber/src/main/python/core/storage/iceberg/iceberg_document.py +++ b/core/amber/src/main/python/core/storage/iceberg/iceberg_document.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from itertools import islice from threading import RLock from typing import Iterator, Optional, Callable, Iterable diff --git a/core/amber/src/main/python/core/storage/iceberg/iceberg_table_writer.py b/core/amber/src/main/python/core/storage/iceberg/iceberg_table_writer.py index 8f547a6af63..dd2a42c2ca8 100644 --- a/core/amber/src/main/python/core/storage/iceberg/iceberg_table_writer.py +++ b/core/amber/src/main/python/core/storage/iceberg/iceberg_table_writer.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pyarrow as pa from pyiceberg.catalog import Catalog from pyiceberg.schema import Schema diff --git a/core/amber/src/main/python/core/storage/iceberg/iceberg_utils.py b/core/amber/src/main/python/core/storage/iceberg/iceberg_utils.py index 86abeb43957..12c841ed71f 100644 --- a/core/amber/src/main/python/core/storage/iceberg/iceberg_utils.py +++ b/core/amber/src/main/python/core/storage/iceberg/iceberg_utils.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pyarrow as pa import pyiceberg.table from pyiceberg.catalog import Catalog diff --git a/core/amber/src/main/python/core/storage/iceberg/test_iceberg_document.py b/core/amber/src/main/python/core/storage/iceberg/test_iceberg_document.py index 82d53e0291e..9e43cc3fa03 100644 --- a/core/amber/src/main/python/core/storage/iceberg/test_iceberg_document.py +++ b/core/amber/src/main/python/core/storage/iceberg/test_iceberg_document.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import datetime import random import uuid diff --git a/core/amber/src/main/python/core/storage/model/__init__.py b/core/amber/src/main/python/core/storage/model/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/storage/model/__init__.py +++ b/core/amber/src/main/python/core/storage/model/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/storage/model/buffered_item_writer.py b/core/amber/src/main/python/core/storage/model/buffered_item_writer.py index 7f00eb52d3a..2b50b34fcf7 100644 --- a/core/amber/src/main/python/core/storage/model/buffered_item_writer.py +++ b/core/amber/src/main/python/core/storage/model/buffered_item_writer.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABC, abstractmethod from typing import Generic, TypeVar diff --git a/core/amber/src/main/python/core/storage/model/readonly_virtual_document.py b/core/amber/src/main/python/core/storage/model/readonly_virtual_document.py index dcaca3b941b..ef46dbaa028 100644 --- a/core/amber/src/main/python/core/storage/model/readonly_virtual_document.py +++ b/core/amber/src/main/python/core/storage/model/readonly_virtual_document.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABC, abstractmethod from urllib.parse import ParseResult diff --git a/core/amber/src/main/python/core/storage/model/virtual_document.py b/core/amber/src/main/python/core/storage/model/virtual_document.py index 10b953eda97..0f20b198640 100644 --- a/core/amber/src/main/python/core/storage/model/virtual_document.py +++ b/core/amber/src/main/python/core/storage/model/virtual_document.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABC, abstractmethod from urllib.parse import ParseResult diff --git a/core/amber/src/main/python/core/storage/runnables/__init__.py b/core/amber/src/main/python/core/storage/runnables/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/storage/runnables/__init__.py +++ b/core/amber/src/main/python/core/storage/runnables/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/storage/runnables/port_storage_writer.py b/core/amber/src/main/python/core/storage/runnables/port_storage_writer.py index e5edf24129e..a0e6c74f5f9 100644 --- a/core/amber/src/main/python/core/storage/runnables/port_storage_writer.py +++ b/core/amber/src/main/python/core/storage/runnables/port_storage_writer.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from dataclasses import dataclass from overrides import overrides diff --git a/core/amber/src/main/python/core/storage/storage_config.py b/core/amber/src/main/python/core/storage/storage_config.py index 89375041b92..21c918d5147 100644 --- a/core/amber/src/main/python/core/storage/storage_config.py +++ b/core/amber/src/main/python/core/storage/storage_config.py @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + class StorageConfig: """ A static class to keep the storage-related configs. diff --git a/core/amber/src/main/python/core/storage/vfs_uri_factory.py b/core/amber/src/main/python/core/storage/vfs_uri_factory.py index 9818ed9f39c..3aded2a9cf4 100644 --- a/core/amber/src/main/python/core/storage/vfs_uri_factory.py +++ b/core/amber/src/main/python/core/storage/vfs_uri_factory.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from enum import Enum from typing import Optional from urllib.parse import urlparse diff --git a/core/amber/src/main/python/core/util/__init__.py b/core/amber/src/main/python/core/util/__init__.py index 25fa962a3a6..b747d28f4ba 100644 --- a/core/amber/src/main/python/core/util/__init__.py +++ b/core/amber/src/main/python/core/util/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .proto import get_one_of, set_one_of from .customized_queue import LinkedBlockingMultiQueue, IQueue from .stoppable import Stoppable, StoppableQueueBlockingRunnable diff --git a/core/amber/src/main/python/core/util/buffer/buffer_base.py b/core/amber/src/main/python/core/util/buffer/buffer_base.py index bd12ed9e65a..244b7357407 100644 --- a/core/amber/src/main/python/core/util/buffer/buffer_base.py +++ b/core/amber/src/main/python/core/util/buffer/buffer_base.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABCMeta from core.util.protocol.base_protocols import FlushedGetable, Putable diff --git a/core/amber/src/main/python/core/util/buffer/timed_buffer.py b/core/amber/src/main/python/core/util/buffer/timed_buffer.py index 8a088d18f39..da1dcd4588f 100644 --- a/core/amber/src/main/python/core/util/buffer/timed_buffer.py +++ b/core/amber/src/main/python/core/util/buffer/timed_buffer.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from datetime import datetime from typing import List, Iterator diff --git a/core/amber/src/main/python/core/util/console_message/replace_print.py b/core/amber/src/main/python/core/util/console_message/replace_print.py index 040ff920d31..929d120854c 100644 --- a/core/amber/src/main/python/core/util/console_message/replace_print.py +++ b/core/amber/src/main/python/core/util/console_message/replace_print.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import builtins import inspect from contextlib import redirect_stdout diff --git a/core/amber/src/main/python/core/util/console_message/timed_buffer.py b/core/amber/src/main/python/core/util/console_message/timed_buffer.py index 87f534cdede..30fbf3fa408 100644 --- a/core/amber/src/main/python/core/util/console_message/timed_buffer.py +++ b/core/amber/src/main/python/core/util/console_message/timed_buffer.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from datetime import datetime from typing import Tuple, List, Iterator diff --git a/core/amber/src/main/python/core/util/console_message/timestamp.py b/core/amber/src/main/python/core/util/console_message/timestamp.py index f65c3f8fa48..9ced3a712bc 100644 --- a/core/amber/src/main/python/core/util/console_message/timestamp.py +++ b/core/amber/src/main/python/core/util/console_message/timestamp.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import datetime import tzlocal diff --git a/core/amber/src/main/python/core/util/customized_queue/__init__.py b/core/amber/src/main/python/core/util/customized_queue/__init__.py index 3d3f0bbffb1..0e4c20e8c60 100644 --- a/core/amber/src/main/python/core/util/customized_queue/__init__.py +++ b/core/amber/src/main/python/core/util/customized_queue/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .linked_blocking_multi_queue import LinkedBlockingMultiQueue from .queue_base import IQueue diff --git a/core/amber/src/main/python/core/util/customized_queue/double_blocking_queue.py b/core/amber/src/main/python/core/util/customized_queue/double_blocking_queue.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/util/customized_queue/double_blocking_queue.py +++ b/core/amber/src/main/python/core/util/customized_queue/double_blocking_queue.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/util/customized_queue/inner.py b/core/amber/src/main/python/core/util/customized_queue/inner.py index 46d42ff1107..b39762f4f83 100644 --- a/core/amber/src/main/python/core/util/customized_queue/inner.py +++ b/core/amber/src/main/python/core/util/customized_queue/inner.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + """ This class is taken from https://github.com/sebkeim/inner-class at commit sha 0856be1feee38710005a7ef27ae998af95dedbf8. diff --git a/core/amber/src/main/python/core/util/customized_queue/linked_blocking_multi_queue.py b/core/amber/src/main/python/core/util/customized_queue/linked_blocking_multi_queue.py index 069b993e51d..3b46e6db4d7 100644 --- a/core/amber/src/main/python/core/util/customized_queue/linked_blocking_multi_queue.py +++ b/core/amber/src/main/python/core/util/customized_queue/linked_blocking_multi_queue.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from __future__ import annotations import sys diff --git a/core/amber/src/main/python/core/util/customized_queue/queue_base.py b/core/amber/src/main/python/core/util/customized_queue/queue_base.py index 39899814a0d..47b8aac94e4 100644 --- a/core/amber/src/main/python/core/util/customized_queue/queue_base.py +++ b/core/amber/src/main/python/core/util/customized_queue/queue_base.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import ABCMeta from dataclasses import dataclass diff --git a/core/amber/src/main/python/core/util/customized_queue/test_linked_blocking_multi_queue.py b/core/amber/src/main/python/core/util/customized_queue/test_linked_blocking_multi_queue.py index 69e08aeba60..5b84e080670 100644 --- a/core/amber/src/main/python/core/util/customized_queue/test_linked_blocking_multi_queue.py +++ b/core/amber/src/main/python/core/util/customized_queue/test_linked_blocking_multi_queue.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import random import time from threading import Thread diff --git a/core/amber/src/main/python/core/util/expression_evaluator/__init__.py b/core/amber/src/main/python/core/util/expression_evaluator/__init__.py index 9a2a799a7e3..831beb1fc88 100644 --- a/core/amber/src/main/python/core/util/expression_evaluator/__init__.py +++ b/core/amber/src/main/python/core/util/expression_evaluator/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import inspect import re from collections.abc import Iterator, Mapping diff --git a/core/amber/src/main/python/core/util/expression_evaluator/test_expression_evaluator.py b/core/amber/src/main/python/core/util/expression_evaluator/test_expression_evaluator.py index 3874cd10a00..54a64ca58ec 100644 --- a/core/amber/src/main/python/core/util/expression_evaluator/test_expression_evaluator.py +++ b/core/amber/src/main/python/core/util/expression_evaluator/test_expression_evaluator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.util.expression_evaluator import ExpressionEvaluator from proto.edu.uci.ics.amber.engine.architecture.rpc import EvaluatedValue, TypedValue diff --git a/core/amber/src/main/python/core/util/operator/__init__.py b/core/amber/src/main/python/core/util/operator/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/util/operator/__init__.py +++ b/core/amber/src/main/python/core/util/operator/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/util/proto/__init__.py b/core/amber/src/main/python/core/util/proto/__init__.py index f2cdeef5bb0..7ad3af5af4f 100644 --- a/core/amber/src/main/python/core/util/proto/__init__.py +++ b/core/amber/src/main/python/core/util/proto/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import re from typing import T diff --git a/core/amber/src/main/python/core/util/protocol/base_protocols.py b/core/amber/src/main/python/core/util/protocol/base_protocols.py index 8711e37440d..2cd42f3f37a 100644 --- a/core/amber/src/main/python/core/util/protocol/base_protocols.py +++ b/core/amber/src/main/python/core/util/protocol/base_protocols.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import abstractmethod from typing import TypeVar, Sized, Optional from typing_extensions import Protocol diff --git a/core/amber/src/main/python/core/util/runnable/runnable.py b/core/amber/src/main/python/core/util/runnable/runnable.py index 8de4613c706..433c86fc8bb 100644 --- a/core/amber/src/main/python/core/util/runnable/runnable.py +++ b/core/amber/src/main/python/core/util/runnable/runnable.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import abstractmethod from typing_extensions import Protocol diff --git a/core/amber/src/main/python/core/util/stoppable/__init__.py b/core/amber/src/main/python/core/util/stoppable/__init__.py index 06858bf53fb..ad4690fe7d1 100644 --- a/core/amber/src/main/python/core/util/stoppable/__init__.py +++ b/core/amber/src/main/python/core/util/stoppable/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .stoppable import Stoppable from .stoppable_queue_blocking_thread import StoppableQueueBlockingRunnable diff --git a/core/amber/src/main/python/core/util/stoppable/stoppable.py b/core/amber/src/main/python/core/util/stoppable/stoppable.py index 56ba8bc113e..2c79e69d21d 100644 --- a/core/amber/src/main/python/core/util/stoppable/stoppable.py +++ b/core/amber/src/main/python/core/util/stoppable/stoppable.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import abstractmethod from typing_extensions import Protocol diff --git a/core/amber/src/main/python/core/util/stoppable/stoppable_queue_blocking_thread.py b/core/amber/src/main/python/core/util/stoppable/stoppable_queue_blocking_thread.py index 5ae3fdaead5..d20073631b3 100644 --- a/core/amber/src/main/python/core/util/stoppable/stoppable_queue_blocking_thread.py +++ b/core/amber/src/main/python/core/util/stoppable/stoppable_queue_blocking_thread.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from loguru import logger from overrides import overrides diff --git a/core/amber/src/main/python/core/util/thread/__init__.py b/core/amber/src/main/python/core/util/thread/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/core/util/thread/__init__.py +++ b/core/amber/src/main/python/core/util/thread/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/core/util/thread/atomic.py b/core/amber/src/main/python/core/util/thread/atomic.py index 924a67d9d3c..a73619489fd 100644 --- a/core/amber/src/main/python/core/util/thread/atomic.py +++ b/core/amber/src/main/python/core/util/thread/atomic.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import threading diff --git a/core/amber/src/main/python/core/util/virtual_identity/__init__.py b/core/amber/src/main/python/core/util/virtual_identity/__init__.py index 4a11ddfc4e1..e592d89a74a 100644 --- a/core/amber/src/main/python/core/util/virtual_identity/__init__.py +++ b/core/amber/src/main/python/core/util/virtual_identity/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import re from proto.edu.uci.ics.amber.core import ( GlobalPortIdentity, diff --git a/core/amber/src/main/python/proto/__init__.py b/core/amber/src/main/python/proto/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/__init__.py +++ b/core/amber/src/main/python/proto/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/__init__.py b/core/amber/src/main/python/proto/edu/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/__init__.py +++ b/core/amber/src/main/python/proto/edu/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/__init__.py b/core/amber/src/main/python/proto/edu/uci/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/uci/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/ics/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/core/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/core/__init__.py index d7d92339caa..f155542dede 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/core/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/core/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: edu/uci/ics/amber/core/executor.proto, edu/uci/ics/amber/core/virtualidentity.proto, edu/uci/ics/amber/core/workflow.proto, edu/uci/ics/amber/core/workflowruntimestate.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/rpc/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/rpc/__init__.py index 8f91bc7882e..f6b45a9d435 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/rpc/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/rpc/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: edu/uci/ics/amber/engine/architecture/rpc/controlcommands.proto, edu/uci/ics/amber/engine/architecture/rpc/controllerservice.proto, edu/uci/ics/amber/engine/architecture/rpc/controlreturns.proto, edu/uci/ics/amber/engine/architecture/rpc/testerservice.proto, edu/uci/ics/amber/engine/architecture/rpc/workerservice.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/sendsemantics/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/sendsemantics/__init__.py index b9769dc2bb9..0b10145b8a2 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/sendsemantics/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/sendsemantics/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: edu/uci/ics/amber/engine/architecture/sendsemantics/partitionings.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/worker/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/worker/__init__.py index 8b87e847f58..f5fd615493d 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/worker/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/architecture/worker/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: edu/uci/ics/amber/engine/architecture/worker/statistics.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/common/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/common/__init__.py index b03ae521c74..939097c1e8f 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/common/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/amber/engine/common/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: edu/uci/ics/amber/engine/common/actormessage.proto, edu/uci/ics/amber/engine/common/ambermessage.proto, edu/uci/ics/amber/engine/common/executionruntimestate.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/proto/edu/uci/ics/texera/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/texera/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/texera/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/texera/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/proto/edu/uci/ics/texera/web/__init__.py b/core/amber/src/main/python/proto/edu/uci/ics/texera/web/__init__.py index 8979cc0b8f1..b0f8d666374 100644 --- a/core/amber/src/main/python/proto/edu/uci/ics/texera/web/__init__.py +++ b/core/amber/src/main/python/proto/edu/uci/ics/texera/web/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: edu/uci/ics/texera/workflowruntimestate.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/proto/scalapb/__init__.py b/core/amber/src/main/python/proto/scalapb/__init__.py index 49c713815a5..153dd1b07aa 100644 --- a/core/amber/src/main/python/proto/scalapb/__init__.py +++ b/core/amber/src/main/python/proto/scalapb/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: scalapb/scalapb.proto # plugin: python-betterproto diff --git a/core/amber/src/main/python/pyamber/__init__.py b/core/amber/src/main/python/pyamber/__init__.py index c170e8f1ba3..01ee5e08279 100644 --- a/core/amber/src/main/python/pyamber/__init__.py +++ b/core/amber/src/main/python/pyamber/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from core.models import ( Tuple, TupleLike, diff --git a/core/amber/src/main/python/pytexera/__init__.py b/core/amber/src/main/python/pytexera/__init__.py index a4a7a9c5ce7..db78319f490 100644 --- a/core/amber/src/main/python/pytexera/__init__.py +++ b/core/amber/src/main/python/pytexera/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from loguru import logger from overrides import overrides from typing import Iterator, Optional, Union diff --git a/core/amber/src/main/python/pytexera/storage/__init__.py b/core/amber/src/main/python/pytexera/storage/__init__.py index da91bba69d6..da1b6392b23 100644 --- a/core/amber/src/main/python/pytexera/storage/__init__.py +++ b/core/amber/src/main/python/pytexera/storage/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .dataset_file_document import DatasetFileDocument __all__ = ["DatasetFileDocument"] diff --git a/core/amber/src/main/python/pytexera/storage/dataset_file_document.py b/core/amber/src/main/python/pytexera/storage/dataset_file_document.py index ba5d9748c2d..28ffe0d30e5 100644 --- a/core/amber/src/main/python/pytexera/storage/dataset_file_document.py +++ b/core/amber/src/main/python/pytexera/storage/dataset_file_document.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import os import io import requests diff --git a/core/amber/src/main/python/pytexera/udf/__init__.py b/core/amber/src/main/python/pytexera/udf/__init__.py index e69de29bb2d..13a83393a91 100644 --- a/core/amber/src/main/python/pytexera/udf/__init__.py +++ b/core/amber/src/main/python/pytexera/udf/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. diff --git a/core/amber/src/main/python/pytexera/udf/examples/__init__.py b/core/amber/src/main/python/pytexera/udf/examples/__init__.py index ac11650178d..34b7183567d 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/__init__.py +++ b/core/amber/src/main/python/pytexera/udf/examples/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from .echo_operator import EchoOperator from .echo_table_operator import EchoTableOperator from .join_operator import JoinOperator diff --git a/core/amber/src/main/python/pytexera/udf/examples/count_batch_operator.py b/core/amber/src/main/python/pytexera/udf/examples/count_batch_operator.py index 44346be136b..d4aed1746e7 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/count_batch_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/count_batch_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pytexera import * diff --git a/core/amber/src/main/python/pytexera/udf/examples/echo_operator.py b/core/amber/src/main/python/pytexera/udf/examples/echo_operator.py index 31acdc78796..2b93f43bc45 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/echo_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/echo_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pytexera import * diff --git a/core/amber/src/main/python/pytexera/udf/examples/echo_table_operator.py b/core/amber/src/main/python/pytexera/udf/examples/echo_table_operator.py index 13dee7f1ba9..3402e4434b7 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/echo_table_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/echo_table_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pytexera import * diff --git a/core/amber/src/main/python/pytexera/udf/examples/generator_operator.py b/core/amber/src/main/python/pytexera/udf/examples/generator_operator.py index f8c2080fd31..995060dee4a 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/generator_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/generator_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pytexera import * diff --git a/core/amber/src/main/python/pytexera/udf/examples/join_operator.py b/core/amber/src/main/python/pytexera/udf/examples/join_operator.py index 40fad380a22..340305fde2a 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/join_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/join_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from collections import defaultdict from pytexera import * diff --git a/core/amber/src/main/python/pytexera/udf/examples/rudf/r_table_operator.py b/core/amber/src/main/python/pytexera/udf/examples/rudf/r_table_operator.py index e28ca6aa100..e6ce072dd12 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/rudf/r_table_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/rudf/r_table_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Note: make sure R path is initialized in udf.conf and make sure that # the following packages (in R) are installed: arrow # --- Source Operator Examples --- diff --git a/core/amber/src/main/python/pytexera/udf/examples/rudf/r_tuple_operator.py b/core/amber/src/main/python/pytexera/udf/examples/rudf/r_tuple_operator.py index dfb774d03ef..4aeb8a010ce 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/rudf/r_tuple_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/rudf/r_tuple_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Note: make sure R path is initialized in udf.conf and make sure that # the following packages (in R) are installed: coro, arrow # --- Source Operator Examples --- diff --git a/core/amber/src/main/python/pytexera/udf/examples/test_count_batch_operator.py b/core/amber/src/main/python/pytexera/udf/examples/test_count_batch_operator.py index 875d7476b55..3df28259400 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/test_count_batch_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/test_count_batch_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import inspect from collections import deque diff --git a/core/amber/src/main/python/pytexera/udf/examples/test_echo_operator.py b/core/amber/src/main/python/pytexera/udf/examples/test_echo_operator.py index b683c4eb509..a70b8a0e7c1 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/test_echo_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/test_echo_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest from pytexera import Tuple diff --git a/core/amber/src/main/python/pytexera/udf/examples/test_echo_table_operator.py b/core/amber/src/main/python/pytexera/udf/examples/test_echo_table_operator.py index 107bfaf3570..b878d8dec91 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/test_echo_table_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/test_echo_table_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from collections import deque import pytest diff --git a/core/amber/src/main/python/pytexera/udf/examples/test_generator_operator.py b/core/amber/src/main/python/pytexera/udf/examples/test_generator_operator.py index 908fb8d8122..931d8fefb8b 100644 --- a/core/amber/src/main/python/pytexera/udf/examples/test_generator_operator.py +++ b/core/amber/src/main/python/pytexera/udf/examples/test_generator_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import pytest from pytexera import Tuple diff --git a/core/amber/src/main/python/pytexera/udf/udf_operator.py b/core/amber/src/main/python/pytexera/udf/udf_operator.py index 420cb8f7bfa..60dc87308e0 100644 --- a/core/amber/src/main/python/pytexera/udf/udf_operator.py +++ b/core/amber/src/main/python/pytexera/udf/udf_operator.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from abc import abstractmethod from typing import Iterator, Optional, Union from pyamber import * diff --git a/core/amber/src/main/python/texera_run_python_worker.py b/core/amber/src/main/python/texera_run_python_worker.py index b975dafe58a..d4854c69c6d 100644 --- a/core/amber/src/main/python/texera_run_python_worker.py +++ b/core/amber/src/main/python/texera_run_python_worker.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import sys from loguru import logger diff --git a/core/amber/src/main/resources/application.conf b/core/amber/src/main/resources/application.conf index d70ae2f3c6c..aea7d2dfc39 100644 --- a/core/amber/src/main/resources/application.conf +++ b/core/amber/src/main/resources/application.conf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # See PR https://github.com/Texera/texera/pull/3326 for configuration guidelines. constants { logging-queue-size-interval = 30000 diff --git a/core/amber/src/main/resources/cache.ccf b/core/amber/src/main/resources/cache.ccf index f5bbab97162..b03d869250f 100644 --- a/core/amber/src/main/resources/cache.ccf +++ b/core/amber/src/main/resources/cache.ccf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # DEFAULT CACHE REGION jcs.default=DC diff --git a/core/amber/src/main/resources/cluster.conf b/core/amber/src/main/resources/cluster.conf index 23719d37554..8069a0e673c 100644 --- a/core/amber/src/main/resources/cluster.conf +++ b/core/amber/src/main/resources/cluster.conf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + akka { # Loggers to register at boot time (akka.event.Logging$DefaultLogger logs # to STDOUT) diff --git a/core/amber/src/main/resources/computing-unit-master-config.yml b/core/amber/src/main/resources/computing-unit-master-config.yml index a54fc6fb103..a036e424efe 100644 --- a/core/amber/src/main/resources/computing-unit-master-config.yml +++ b/core/amber/src/main/resources/computing-unit-master-config.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + server: applicationContextPath: / applicationConnectors: diff --git a/core/amber/src/main/resources/gmail/.gitkeep b/core/amber/src/main/resources/gmail/.gitkeep new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/core/amber/src/main/resources/gmail/.gitkeep @@ -0,0 +1 @@ + diff --git a/core/amber/src/main/resources/gmail/README b/core/amber/src/main/resources/gmail/README deleted file mode 100644 index 4a7e5b71b77..00000000000 --- a/core/amber/src/main/resources/gmail/README +++ /dev/null @@ -1 +0,0 @@ -This folder is for gmail related files. \ No newline at end of file diff --git a/core/amber/src/main/resources/logback.xml b/core/amber/src/main/resources/logback.xml index 7f8e3c7ee75..4faa49cd579 100644 --- a/core/amber/src/main/resources/logback.xml +++ b/core/amber/src/main/resources/logback.xml @@ -1,4 +1,23 @@ + + --> + diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala index 576b10f5d68..c58855530ef 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala @@ -4,23 +4,27 @@ import org.jooq.codegen.{DefaultGeneratorStrategy, GeneratorStrategy} import org.jooq.meta.Definition class ASFGeneratorStrategy extends DefaultGeneratorStrategy { - override def getFileHeader(definition: Definition, mode: GeneratorStrategy.Mode): String = - """Licensed to the Apache Software Foundation (ASF) under one - |or more contributor license agreements. See the NOTICE file - |distributed with this work for additional information - |regarding copyright ownership. The ASF licenses this file - |to you under the Apache License, Version 2.0 (the - |"License"); you may not use this file except in compliance - |with the License. You may obtain a copy of the License at - | - | http://www.apache.org/licenses/LICENSE-2.0 - | - |Unless required by applicable law or agreed to in writing, - |software distributed under the License is distributed on an - |"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - |KIND, either express or implied. See the License for the - |specific language governing permissions and limitations - |under the License. - | - |This file is generated by jOOQ.""".stripMargin + private val header = """Licensed to the Apache Software Foundation (ASF) under one + |or more contributor license agreements. See the NOTICE file + |distributed with this work for additional information + |regarding copyright ownership. The ASF licenses this file + |to you under the Apache License, Version 2.0 (the + |"License"); you may not use this file except in compliance + |with the License. You may obtain a copy of the License at + | + | http://www.apache.org/licenses/LICENSE-2.0 + | + |Unless required by applicable law or agreed to in writing, + |software distributed under the License is distributed on an + |"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + |KIND, either express or implied. See the License for the + |specific language governing permissions and limitations + |under the License. + | + |This file is generated by jOOQ.""".stripMargin + override def getFileHeader(definition: Definition, mode: GeneratorStrategy.Mode): String = header + override def getGlobalReferencesFileHeader( + container: Definition, + objectType: Class[_ <: Definition] + ): String = header } diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala index 48c7006757a..7b57df975c9 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.dao import com.typesafe.config.{Config, ConfigFactory, ConfigParseOptions} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/SqlServer.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/SqlServer.scala index 2748bf1e948..18eb92b9f34 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/SqlServer.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/SqlServer.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.dao import org.jooq.impl.DSL diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java index 22c26c7f97d..5113c738fc6 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java @@ -1,4 +1,21 @@ /* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * * This file is generated by jOOQ. */ package edu.uci.ics.texera.dao.jooq.generated; diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java index 693f4763078..5a62a260fda 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java @@ -1,4 +1,21 @@ /* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * * This file is generated by jOOQ. */ package edu.uci.ics.texera.dao.jooq.generated; diff --git a/core/dao/src/test/scala/edu/uci/ics/texera/dao/MockTexeraDB.scala b/core/dao/src/test/scala/edu/uci/ics/texera/dao/MockTexeraDB.scala index 9fc94c9e710..1bb49518163 100644 --- a/core/dao/src/test/scala/edu/uci/ics/texera/dao/MockTexeraDB.scala +++ b/core/dao/src/test/scala/edu/uci/ics/texera/dao/MockTexeraDB.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.dao import io.zonky.test.db.postgres.embedded.EmbeddedPostgres diff --git a/core/file-service/build.sbt b/core/file-service/build.sbt index 984de4d3ba5..cae134507d4 100644 --- a/core/file-service/build.sbt +++ b/core/file-service/build.sbt @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + import scala.collection.Seq name := "file-service" diff --git a/core/file-service/src/main/resources/auth.conf b/core/file-service/src/main/resources/auth.conf index f2d2d73030a..75e81858575 100644 --- a/core/file-service/src/main/resources/auth.conf +++ b/core/file-service/src/main/resources/auth.conf @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # See PR https://github.com/Texera/texera/pull/3326 for configuration guidelines. # Configuration for JWT Authentication. Currently it is used by the FileService to parse the given JWT Token # TODO: move auth.conf to a standalone Auth code module diff --git a/core/file-service/src/main/resources/docker-compose.yml b/core/file-service/src/main/resources/docker-compose.yml index d3b7775a4fb..fbef6cc3b5b 100644 --- a/core/file-service/src/main/resources/docker-compose.yml +++ b/core/file-service/src/main/resources/docker-compose.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + version: "3.5" name: texera-lakefs services: diff --git a/core/file-service/src/main/resources/file-service-web-config.yaml b/core/file-service/src/main/resources/file-service-web-config.yaml index 01396a8910e..e9c0e33c054 100644 --- a/core/file-service/src/main/resources/file-service-web-config.yaml +++ b/core/file-service/src/main/resources/file-service-web-config.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + server: applicationConnectors: - type: http diff --git a/core/file-service/src/main/resources/minio-config.yml b/core/file-service/src/main/resources/minio-config.yml index a4ee5aace8c..0622b92bdce 100644 --- a/core/file-service/src/main/resources/minio-config.yml +++ b/core/file-service/src/main/resources/minio-config.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + version: '3.8' services: diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileService.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileService.scala index e25c420b75b..28763b8e721 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileService.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileService.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service import com.fasterxml.jackson.databind.module.SimpleModule diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileServiceConfiguration.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileServiceConfiguration.scala index be3a700ce97..8263d6445df 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileServiceConfiguration.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/FileServiceConfiguration.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service import io.dropwizard.core.Configuration diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetAccessResource.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetAccessResource.scala index 67ae17a3ba8..d13e7591e38 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetAccessResource.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetAccessResource.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service.resource import edu.uci.ics.texera.auth.SessionUser diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala index da69f2447cd..aca2ec90cf6 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service.resource import edu.uci.ics.amber.core.storage.model.OnDataset diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/HealthCheckResource.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/HealthCheckResource.scala index 8fc247e5b96..895f6a400af 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/HealthCheckResource.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/HealthCheckResource.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service.resource import jakarta.ws.rs.core.MediaType diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/dataset/DatasetFileNode.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/dataset/DatasetFileNode.scala index 10d89f8e235..9abfb42f248 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/dataset/DatasetFileNode.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/dataset/DatasetFileNode.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service.`type` import edu.uci.ics.amber.core.storage.util.dataset.PhysicalFileNode diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/serde/DatasetFileNodeSerializer.java b/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/serde/DatasetFileNodeSerializer.java index 2d2da04fb14..c568c24258e 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/serde/DatasetFileNodeSerializer.java +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/type/serde/DatasetFileNodeSerializer.java @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service.type.serde; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/util/S3StorageClient.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/util/S3StorageClient.scala index 05b650ac2e8..5f5a46d233c 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/util/S3StorageClient.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/util/S3StorageClient.scala @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package edu.uci.ics.texera.service.util import edu.uci.ics.amber.core.storage.StorageConfig diff --git a/core/gui/.depcheckrc b/core/gui/.depcheckrc deleted file mode 100644 index 767abc2daa6..00000000000 --- a/core/gui/.depcheckrc +++ /dev/null @@ -1,2 +0,0 @@ -ignores: ["eslint-*", "babel-*", "tslint-*"] -skip-missing: true diff --git a/core/gui/.editorconfig b/core/gui/.editorconfig index 6e87a003da8..d21932d97ca 100644 --- a/core/gui/.editorconfig +++ b/core/gui/.editorconfig @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Editor configuration, see http://editorconfig.org root = true diff --git a/core/gui/.eslintrc.json b/core/gui/.eslintrc.json index f3e09e4c51e..e50e8c47605 100644 --- a/core/gui/.eslintrc.json +++ b/core/gui/.eslintrc.json @@ -1,3 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + { "root": true, "ignorePatterns": ["projects/**/*"], diff --git a/core/gui/.prettierignore b/core/gui/.prettierignore index fb0cb24e0a4..17df5b37951 100644 --- a/core/gui/.prettierignore +++ b/core/gui/.prettierignore @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Ignore artifacts: dist build diff --git a/core/gui/.yarnrc.yml b/core/gui/.yarnrc.yml index c4d1515f7eb..599e30f9f0d 100644 --- a/core/gui/.yarnrc.yml +++ b/core/gui/.yarnrc.yml @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + yarnPath: .yarn/releases/yarn-4.5.1.cjs nodeLinker: node-modules diff --git a/core/gui/custom-webpack.config.js b/core/gui/custom-webpack.config.js index c39389135af..df1d742b920 100644 --- a/core/gui/custom-webpack.config.js +++ b/core/gui/custom-webpack.config.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + module.exports = { module: { rules: [ diff --git a/core/gui/git-version.js b/core/gui/git-version.js index c5437738579..54cfdf8d3f5 100644 --- a/core/gui/git-version.js +++ b/core/gui/git-version.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + const { gitDescribeSync } = require("git-describe"); const { version } = require("./package.json"); const { resolve, relative } = require("path"); diff --git a/core/gui/karma.conf.js b/core/gui/karma.conf.js index 45af65d4b31..db83b4c1667 100644 --- a/core/gui/karma.conf.js +++ b/core/gui/karma.conf.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // Karma configuration file module.exports = function (config) { config.set({ diff --git a/core/gui/src/app/app-routing.constant.ts b/core/gui/src/app/app-routing.constant.ts index 0e046c25f30..002c37bfd8f 100644 --- a/core/gui/src/app/app-routing.constant.ts +++ b/core/gui/src/app/app-routing.constant.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + export const DASHBOARD = "/dashboard"; export const DASHBOARD_HOME = `${DASHBOARD}/home`; export const DASHBOARD_ABOUT = `${DASHBOARD}/about`; diff --git a/core/gui/src/app/app-routing.module.ts b/core/gui/src/app/app-routing.module.ts index bd95fffd9ec..061775269d8 100644 --- a/core/gui/src/app/app-routing.module.ts +++ b/core/gui/src/app/app-routing.module.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { NgModule } from "@angular/core"; import { RouterModule, Routes } from "@angular/router"; import { environment } from "../environments/environment"; diff --git a/core/gui/src/app/app.component.ts b/core/gui/src/app/app.component.ts index 509c9cadc99..361f1118909 100644 --- a/core/gui/src/app/app.component.ts +++ b/core/gui/src/app/app.component.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { Component } from "@angular/core"; @Component({ diff --git a/core/gui/src/app/app.module.ts b/core/gui/src/app/app.module.ts index ab3e5c29ddb..fe57e86673a 100644 --- a/core/gui/src/app/app.module.ts +++ b/core/gui/src/app/app.module.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { DatePipe, registerLocaleData } from "@angular/common"; import { HTTP_INTERCEPTORS, HttpClientModule } from "@angular/common/http"; import en from "@angular/common/locales/en"; diff --git a/core/gui/src/app/common/app-setting.ts b/core/gui/src/app/common/app-setting.ts index 659e4d1f568..7dc5a58a6bb 100644 --- a/core/gui/src/app/common/app-setting.ts +++ b/core/gui/src/app/common/app-setting.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { environment } from "../../environments/environment"; export class AppSettings { diff --git a/core/gui/src/app/common/formly/array.type.ts b/core/gui/src/app/common/formly/array.type.ts index 3fe32c6a0d0..5f4bf66455f 100644 --- a/core/gui/src/app/common/formly/array.type.ts +++ b/core/gui/src/app/common/formly/array.type.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { Component } from "@angular/core"; import { FieldArrayType } from "@ngx-formly/core"; diff --git a/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.css b/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.css index c9e868f6376..5f583284045 100644 --- a/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.css +++ b/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.css @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + :host ::ng-deep .ql-clipboard { max-height: 0; } diff --git a/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.html b/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.html index 157b50d51a2..e3c9700fedb 100644 --- a/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.html +++ b/core/gui/src/app/common/formly/collab-wrapper/collab-wrapper/collab-wrapper.component.html @@ -1,3 +1,22 @@ + +
{} - -/** Copyright 2018 Google Inc. All Rights Reserved. - Use of this source code is governed by an MIT-style license that - can be found in the LICENSE file at http://angular.io/license */ diff --git a/core/gui/src/app/common/formly/object.type.ts b/core/gui/src/app/common/formly/object.type.ts index e44260abee4..55cc37eaff9 100644 --- a/core/gui/src/app/common/formly/object.type.ts +++ b/core/gui/src/app/common/formly/object.type.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { Component } from "@angular/core"; import { FieldType, FieldTypeConfig } from "@ngx-formly/core"; @@ -24,7 +43,3 @@ export class ObjectTypeComponent extends FieldType { defaultValue: {}, }; } - -/** Copyright 2018 Google Inc. All Rights Reserved. - Use of this source code is governed by an MIT-style license that - can be found in the LICENSE file at http://angular.io/license */ diff --git a/core/gui/src/app/common/formly/preset-wrapper/preset-wrapper.component.html b/core/gui/src/app/common/formly/preset-wrapper/preset-wrapper.component.html index e1c0bd09d0b..58b571233d9 100644 --- a/core/gui/src/app/common/formly/preset-wrapper/preset-wrapper.component.html +++ b/core/gui/src/app/common/formly/preset-wrapper/preset-wrapper.component.html @@ -1,3 +1,22 @@ + +
(defaultContext: Context) { diff --git a/core/gui/src/app/common/util/error.ts b/core/gui/src/app/common/util/error.ts index 0194d3334fd..73b33306bcf 100644 --- a/core/gui/src/app/common/util/error.ts +++ b/core/gui/src/app/common/util/error.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * Used to extract error from the backend-thrown error * @param err diff --git a/core/gui/src/app/common/util/map.ts b/core/gui/src/app/common/util/map.ts index 1ec506d8533..649a10e1602 100644 --- a/core/gui/src/app/common/util/map.ts +++ b/core/gui/src/app/common/util/map.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * Converts ES6 Map object to TS Record object. * This method is used to stringify Map objects. diff --git a/core/gui/src/app/common/util/panel-dock.ts b/core/gui/src/app/common/util/panel-dock.ts index c4690e6eb79..44afbb48de7 100644 --- a/core/gui/src/app/common/util/panel-dock.ts +++ b/core/gui/src/app/common/util/panel-dock.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + function parseTranslate3d(translate3d: string): [number, number, number] { const regex = /translate3d\((-?\d+\.?\d*)px,\s*(-?\d+\.?\d*)px,\s*(-?\d+\.?\d*)px\)/g; const match = regex.exec(translate3d); diff --git a/core/gui/src/app/common/util/predicate.ts b/core/gui/src/app/common/util/predicate.ts index ba876bdc10c..981a1c7ff68 100644 --- a/core/gui/src/app/common/util/predicate.ts +++ b/core/gui/src/app/common/util/predicate.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * checks if the given parameter is undefined or not. * @param val diff --git a/core/gui/src/app/common/util/set.ts b/core/gui/src/app/common/util/set.ts index e8035ba4e46..6b1905af642 100644 --- a/core/gui/src/app/common/util/set.ts +++ b/core/gui/src/app/common/util/set.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + export function intersection(setA: ReadonlySet, setB: ReadonlySet): Set { let _intersection = new Set(); for (let elem of setA) { diff --git a/core/gui/src/app/common/util/size-formatter.util.spec.ts b/core/gui/src/app/common/util/size-formatter.util.spec.ts index d1ad017b35a..22c4e99131c 100644 --- a/core/gui/src/app/common/util/size-formatter.util.spec.ts +++ b/core/gui/src/app/common/util/size-formatter.util.spec.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { formatSize } from "./size-formatter.util"; describe("formatSize", () => { diff --git a/core/gui/src/app/common/util/size-formatter.util.ts b/core/gui/src/app/common/util/size-formatter.util.ts index 206e8295f09..ead456870a4 100644 --- a/core/gui/src/app/common/util/size-formatter.util.ts +++ b/core/gui/src/app/common/util/size-formatter.util.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + const BYTES_PER_UNIT = 1024; const SIZE_UNITS = ["B", "KB", "MB", "GB", "TB"]; diff --git a/core/gui/src/app/common/util/storage.ts b/core/gui/src/app/common/util/storage.ts index ab701239900..d030d7ba956 100644 --- a/core/gui/src/app/common/util/storage.ts +++ b/core/gui/src/app/common/util/storage.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * storage.ts maintains a set of useful static storage-related functions. * They are used to provide easy access to localStorage and sessionStorage. diff --git a/core/gui/src/app/common/util/stub.ts b/core/gui/src/app/common/util/stub.ts index d4c339278b9..f2aded19d07 100644 --- a/core/gui/src/app/common/util/stub.ts +++ b/core/gui/src/app/common/util/stub.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + export type PublicInterfaceOf = { [Member in keyof Class]: Class[Member]; }; diff --git a/core/gui/src/app/common/util/switch.ts b/core/gui/src/app/common/util/switch.ts index af2c78ce35e..d88ca42542e 100644 --- a/core/gui/src/app/common/util/switch.ts +++ b/core/gui/src/app/common/util/switch.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + export function exhaustiveGuard(_value: never): never { throw new Error(`ERROR! Reached forbidden guard function with unexpected value: ${JSON.stringify(_value)}`); } diff --git a/core/gui/src/app/common/util/url.ts b/core/gui/src/app/common/util/url.ts index dda1d3dc750..f72354ed25e 100644 --- a/core/gui/src/app/common/util/url.ts +++ b/core/gui/src/app/common/util/url.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * url.ts maintains common functions related to URL. */ diff --git a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.html b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.html index 66ebf1dbfcd..28fdc5d41ec 100644 --- a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.html +++ b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.html @@ -1,3 +1,22 @@ + + diff --git a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.scss b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.scss index 0fd92175e9c..b785c381502 100644 --- a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.scss +++ b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.scss @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + .loading-container { display: flex; justify-content: center; diff --git a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.spec.ts b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.spec.ts index 8534ea2cb4e..b25ca8b296a 100644 --- a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.spec.ts +++ b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.spec.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { ComponentFixture, inject, TestBed, waitForAsync } from "@angular/core/testing"; import { AdminExecutionComponent } from "./admin-execution.component"; import { AdminExecutionService } from "../../../service/admin/execution/admin-execution.service"; diff --git a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.ts b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.ts index 315664ccf75..9c3ec90cedc 100644 --- a/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.ts +++ b/core/gui/src/app/dashboard/component/admin/execution/admin-execution.component.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { Component, OnDestroy, OnInit } from "@angular/core"; import { UntilDestroy, untilDestroyed } from "@ngneat/until-destroy"; import { AdminExecutionService } from "../../../service/admin/execution/admin-execution.service"; diff --git a/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.html b/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.html index b5fd776b947..1474d760d72 100644 --- a/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.html +++ b/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.html @@ -1,3 +1,22 @@ + + diff --git a/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.scss b/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.scss index 91cbf0bc670..cbdaabf7987 100644 --- a/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.scss +++ b/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.scss @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + .form { border: 2px solid black; border-radius: 5px; diff --git a/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.ts b/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.ts index 835baa2180c..72a0409e33c 100644 --- a/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.ts +++ b/core/gui/src/app/dashboard/component/admin/gmail/admin-gmail.component.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { Component, OnInit } from "@angular/core"; import { GmailService } from "../../../../common/service/gmail/gmail.service"; import { FormBuilder, FormGroup, Validators } from "@angular/forms"; diff --git a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.html b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.html index 1e80e60c1f8..56d916b96bc 100644 --- a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.html +++ b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.html @@ -1,3 +1,22 @@ + + diff --git a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.scss b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.scss index b1dc31c8075..0854e5b6517 100644 --- a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.scss +++ b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.scss @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + .extra-width { width: 110px; } diff --git a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.spec.ts b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.spec.ts index 592e9f5c7f6..4d624b114f7 100644 --- a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.spec.ts +++ b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.spec.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { ComponentFixture, inject, TestBed, waitForAsync } from "@angular/core/testing"; import { AdminUserComponent } from "./admin-user.component"; import { UserService } from "../../../../common/service/user/user.service"; diff --git a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.ts b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.ts index 7af27fa42ff..d899e5e707c 100644 --- a/core/gui/src/app/dashboard/component/admin/user/admin-user.component.ts +++ b/core/gui/src/app/dashboard/component/admin/user/admin-user.component.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { Component, ElementRef, OnInit, ViewChild } from "@angular/core"; import { UntilDestroy, untilDestroyed } from "@ngneat/until-destroy"; import { NzTableFilterFn, NzTableSortFn } from "ng-zorro-antd/table"; diff --git a/core/gui/src/app/dashboard/component/dashboard.component.html b/core/gui/src/app/dashboard/component/dashboard.component.html index bf8278faca7..e34eed5c30e 100644 --- a/core/gui/src/app/dashboard/component/dashboard.component.html +++ b/core/gui/src/app/dashboard/component/dashboard.component.html @@ -1,3 +1,22 @@ + + +
+ + diff --git a/core/gui/src/app/dashboard/component/user/filters/filters.component.scss b/core/gui/src/app/dashboard/component/user/filters/filters.component.scss index b0d47685b3c..ca11804861d 100644 --- a/core/gui/src/app/dashboard/component/user/filters/filters.component.scss +++ b/core/gui/src/app/dashboard/component/user/filters/filters.component.scss @@ -1 +1,20 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + @import "../user-workflow/user-workflow.component.scss"; diff --git a/core/gui/src/app/dashboard/component/user/filters/filters.component.spec.ts b/core/gui/src/app/dashboard/component/user/filters/filters.component.spec.ts index 63be004ee53..2103b53e1f4 100644 --- a/core/gui/src/app/dashboard/component/user/filters/filters.component.spec.ts +++ b/core/gui/src/app/dashboard/component/user/filters/filters.component.spec.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { ComponentFixture, TestBed } from "@angular/core/testing"; import { FiltersComponent } from "./filters.component"; diff --git a/core/gui/src/app/dashboard/component/user/filters/filters.component.ts b/core/gui/src/app/dashboard/component/user/filters/filters.component.ts index d192e285e05..a88fe71ff8c 100644 --- a/core/gui/src/app/dashboard/component/user/filters/filters.component.ts +++ b/core/gui/src/app/dashboard/component/user/filters/filters.component.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output } from "@angular/core"; import { OperatorMetadataService } from "src/app/workspace/service/operator-metadata/operator-metadata.service"; import { UntilDestroy, untilDestroyed } from "@ngneat/until-destroy"; diff --git a/core/gui/src/app/dashboard/component/user/flarum/flarum.component.html b/core/gui/src/app/dashboard/component/user/flarum/flarum.component.html index 1ac9ea6ac97..cd27aae0d18 100644 --- a/core/gui/src/app/dashboard/component/user/flarum/flarum.component.html +++ b/core/gui/src/app/dashboard/component/user/flarum/flarum.component.html @@ -1,3 +1,22 @@ + + diff --git a/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.scss b/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.scss index 9929180dba9..1eba108d9eb 100644 --- a/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.scss +++ b/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.scss @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #html-content { position: absolute; width: calc(100% - 115px); diff --git a/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.ts b/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.ts index 2f10395f404..8276e414ef1 100644 --- a/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.ts +++ b/core/gui/src/app/workspace/component/visualization-panel-content/visualization-frame-content.component.ts @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import { AfterContentInit, Component, Input } from "@angular/core"; import { DomSanitizer } from "@angular/platform-browser"; import { WorkflowResultService } from "../../service/workflow-result/workflow-result.service"; diff --git a/core/gui/src/app/workspace/component/workflow-editor/comment-box-modal/nz-modal-comment-box.component.html b/core/gui/src/app/workspace/component/workflow-editor/comment-box-modal/nz-modal-comment-box.component.html index de022f4b328..32ba2555242 100644 --- a/core/gui/src/app/workspace/component/workflow-editor/comment-box-modal/nz-modal-comment-box.component.html +++ b/core/gui/src/app/workspace/component/workflow-editor/comment-box-modal/nz-modal-comment-box.component.html @@ -1,3 +1,22 @@ + +