From ec92bc57bc59293086999aedbb46a8553bb8849c Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Tue, 23 Jun 2020 21:26:43 +0200 Subject: [PATCH] Added license headers. --- setup.py | 20 +++++++++++++++++++- src/base/config.py | 4 ++-- src/base/logger.py | 4 ++-- src/rest/controllers/internal_controller.py | 21 ++++++++++++++++++++- src/rest/controllers/public_controller.py | 19 +++++++++++++++++++ src/rest/test/test_internal_controller.py | 19 ++++++++++++++++++- src/rest/test/test_public_controller.py | 19 ++++++++++++++++++- src/server.py | 18 ++++++++++++++++++ src/service/engine_service.py | 18 ++++++++++++++++++ src/service/playlist_service.py | 18 ++++++++++++++++++ src/service/track_service.py | 18 ++++++++++++++++++ 11 files changed, 170 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 5e4ae1d..2435033 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,22 @@ -# coding: utf-8 +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import sys from setuptools import setup, find_packages diff --git a/src/base/config.py b/src/base/config.py index 08ce47b..2d90e5c 100644 --- a/src/base/config.py +++ b/src/base/config.py @@ -1,7 +1,7 @@ # -# Aura Engine (https://gitlab.servus.at/aura/engine) +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) # -# Copyright (C) 2017-2020 - The Aura Engine Team. +# Copyright (C) 2020 - The Aura Engine Team. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by diff --git a/src/base/logger.py b/src/base/logger.py index d1d2673..e0cf957 100644 --- a/src/base/logger.py +++ b/src/base/logger.py @@ -1,7 +1,7 @@ # -# Aura Engine (https://gitlab.servus.at/aura/engine) +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) # -# Copyright (C) 2017-2020 - The Aura Engine Team. +# Copyright (C) 2020 - The Aura Engine Team. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by diff --git a/src/rest/controllers/internal_controller.py b/src/rest/controllers/internal_controller.py index e2afc41..0bc4630 100644 --- a/src/rest/controllers/internal_controller.py +++ b/src/rest/controllers/internal_controller.py @@ -1,3 +1,22 @@ +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import connexion import six @@ -23,7 +42,7 @@ def get_report(year_month): # noqa: E501 """ return 'do some magic!' - + def activate_engine(engine_number): # noqa: E501 """Set active engine diff --git a/src/rest/controllers/public_controller.py b/src/rest/controllers/public_controller.py index fc87ff4..e8e82b4 100644 --- a/src/rest/controllers/public_controller.py +++ b/src/rest/controllers/public_controller.py @@ -1,3 +1,22 @@ +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import connexion import six diff --git a/src/rest/test/test_internal_controller.py b/src/rest/test/test_internal_controller.py index af0c0e6..d625f61 100644 --- a/src/rest/test/test_internal_controller.py +++ b/src/rest/test/test_internal_controller.py @@ -1,4 +1,21 @@ -# coding: utf-8 +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + from __future__ import absolute_import diff --git a/src/rest/test/test_public_controller.py b/src/rest/test/test_public_controller.py index 6851f0d..93fee44 100644 --- a/src/rest/test/test_public_controller.py +++ b/src/rest/test/test_public_controller.py @@ -1,4 +1,21 @@ -# coding: utf-8 +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + from __future__ import absolute_import diff --git a/src/server.py b/src/server.py index 2a99f1c..7935542 100644 --- a/src/server.py +++ b/src/server.py @@ -1,3 +1,21 @@ +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import sys import os diff --git a/src/service/engine_service.py b/src/service/engine_service.py index 60edff7..3a57810 100644 --- a/src/service/engine_service.py +++ b/src/service/engine_service.py @@ -1,3 +1,21 @@ +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + class EngineService(): diff --git a/src/service/playlist_service.py b/src/service/playlist_service.py index dc4a2ee..48a1123 100644 --- a/src/service/playlist_service.py +++ b/src/service/playlist_service.py @@ -1,3 +1,21 @@ +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + class PlaylistService(): diff --git a/src/service/track_service.py b/src/service/track_service.py index a2c4e06..861f5bc 100644 --- a/src/service/track_service.py +++ b/src/service/track_service.py @@ -1,3 +1,21 @@ +# +# Aura Engine API (https://gitlab.servus.at/aura/engine-api) +# +# Copyright (C) 2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + class TrackService(): -- GitLab