diff --git a/src/telemetry/backend/service/EmulatedCollector.py b/src/telemetry/backend/service/EmulatedCollector.py index 5f546d043653f4cad6371abe15fb69099ff3389f..cffff516f00ddb338739df0a3538a52900f07601 100644 --- a/src/telemetry/backend/service/EmulatedCollector.py +++ b/src/telemetry/backend/service/EmulatedCollector.py @@ -1,3 +1,17 @@ +# Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 numpy as np import random import threading diff --git a/src/telemetry/backend/service/EmulatedCollectorMultiple.py b/src/telemetry/backend/service/EmulatedCollectorMultiple.py index 54886e5db865ecb36cf4dd17c99c1203628940b7..5be634deac941fb3c17ed1b5c031da0bd2357600 100644 --- a/src/telemetry/backend/service/EmulatedCollectorMultiple.py +++ b/src/telemetry/backend/service/EmulatedCollectorMultiple.py @@ -1,3 +1,17 @@ +# Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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 numpy as np import random import threading diff --git a/src/telemetry/backend/tests/test_backend.py b/src/telemetry/backend/tests/test_backend.py index 3ddbedf937f2fb42092181d1822bf7b1c2823dca..a8d47da454df9c894e7e3f1a805d58d5cf7d777f 100644 --- a/src/telemetry/backend/tests/test_backend.py +++ b/src/telemetry/backend/tests/test_backend.py @@ -13,11 +13,11 @@ # limitations under the License. import logging +import time from typing import Dict -from .messages import create_collector_request from common.tools.kafka.Variables import KafkaTopic from telemetry.backend.service.TelemetryBackendService import TelemetryBackendService -import time +from .messages import create_collector_request LOGGER = logging.getLogger(__name__)