diff --git a/src/nbi/service/NbiApplication.py b/src/nbi/service/NbiApplication.py index 5c2c00eac47765e83faadbf4f167978f83db2e7f..16e6998108aaf0270cf4545ad0e6995e09a0bc7b 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 b9b8b0be2d63e6da79ce8ca658993f78bb8566d5..06a9569c7441e4e4ea25e8da2f64cd5393133afb 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