From 177ec6aed1f574705faa1e96ab3c8b1a49d862ab Mon Sep 17 00:00:00 2001 From: Lluis Gifre Renom <lluis.gifre@cttc.es> Date: Fri, 31 Jan 2025 13:24:46 +0000 Subject: [PATCH] NBI component: - Added missing headers --- src/nbi/service/NbiApplication.py | 15 +++++++++++++++ .../hearthbeat/HeartbeatNamespace.py | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/src/nbi/service/NbiApplication.py b/src/nbi/service/NbiApplication.py index 5c2c00eac..16e699810 100644 --- a/src/nbi/service/NbiApplication.py +++ b/src/nbi/service/NbiApplication.py @@ -1,3 +1,18 @@ +# Copyright 2022-2024 ETSI 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 logging, time from typing import Any, Optional from flask import Flask, request diff --git a/src/nbi/service/websocket_namespaces/hearthbeat/HeartbeatNamespace.py b/src/nbi/service/websocket_namespaces/hearthbeat/HeartbeatNamespace.py index b9b8b0be2..06a9569c7 100644 --- a/src/nbi/service/websocket_namespaces/hearthbeat/HeartbeatNamespace.py +++ b/src/nbi/service/websocket_namespaces/hearthbeat/HeartbeatNamespace.py @@ -1,3 +1,18 @@ +# Copyright 2022-2024 ETSI 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 logging, threading, time from flask import request from flask_socketio import Namespace, join_room, leave_room -- GitLab