From 3a8a813934894c95efd387acc0940de480a8c90e Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Thu, 3 Oct 2024 12:52:24 +0000
Subject: [PATCH] Pre-merge code cleanup

---
 proto/qkd_app.proto                             | 14 ++++++++++++++
 src/qkd_app/client/QKDAppClient.py              |  4 ----
 src/qkd_app/service/database/uuids/QKDApp.py    |  2 +-
 src/webui/service/templates/qkd_app/detail.html |  2 +-
 4 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/proto/qkd_app.proto b/proto/qkd_app.proto
index b15aaa5a2..b22948d6c 100644
--- a/proto/qkd_app.proto
+++ b/proto/qkd_app.proto
@@ -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.
+
 syntax = "proto3";
 package qkd_app;
 
diff --git a/src/qkd_app/client/QKDAppClient.py b/src/qkd_app/client/QKDAppClient.py
index 6ee2012d0..a35b18f1d 100644
--- a/src/qkd_app/client/QKDAppClient.py
+++ b/src/qkd_app/client/QKDAppClient.py
@@ -101,7 +101,3 @@ class QKDAppClient:
         LOGGER.debug(f'DeleteApp request for app_id: {grpc_message_to_json_string(app_id)}')
         self.stub.DeleteApp(app_id)  # Calls the gRPC service
         LOGGER.debug('App deleted successfully')
-
-
-
-
diff --git a/src/qkd_app/service/database/uuids/QKDApp.py b/src/qkd_app/service/database/uuids/QKDApp.py
index d451dcd76..f6c0e1e12 100644
--- a/src/qkd_app/service/database/uuids/QKDApp.py
+++ b/src/qkd_app/service/database/uuids/QKDApp.py
@@ -34,4 +34,4 @@ def app_get_uuid(app_id: AppId, allow_random: bool = False) -> str:
 
     raise InvalidArgumentsException([
         ('app_id.app_uuid.uuid', app_uuid),
-    ], extra_details=['At least one UUID is required to identify the app.'])
\ No newline at end of file
+    ], extra_details=['At least one UUID is required to identify the app.'])
diff --git a/src/webui/service/templates/qkd_app/detail.html b/src/webui/service/templates/qkd_app/detail.html
index c483af709..078895cec 100644
--- a/src/webui/service/templates/qkd_app/detail.html
+++ b/src/webui/service/templates/qkd_app/detail.html
@@ -123,4 +123,4 @@
     </div>
 </div>
 
-{% endblock %}
\ No newline at end of file
+{% endblock %}
-- 
GitLab