Loading .gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -24,3 +24,5 @@ alert.db .python-version .agents/ .coverage .ruff_cache/ .pytest_cache/ pyproject.toml +4 −0 Original line number Diff line number Diff line Loading @@ -17,3 +17,7 @@ ignore = [ testpaths = ["src/tests"] pythonpath = ["."] addopts = "-v --tb=short" [tool.pyright] extraPaths = ["."] src/api/__init__.py +5 −5 Original line number Diff line number Diff line Loading @@ -18,12 +18,12 @@ from __future__ import annotations from src.api.base_handler import BaseSliceHandler from src.api.e2e_handler import E2EHandler from src.api.ixia_handler import IxiaHandler from src.api.handlers.base_handler import BaseSliceHandler from src.api.handlers.e2e_handler import E2EHandler from src.api.handlers.ixia_handler import IxiaHandler from src.api.handlers.restconf_handler import RestconfHandler from src.api.handlers.tfs_handler import TfsHandler from src.api.main import Api from src.api.restconf_handler import RestconfHandler from src.api.tfs_handler import TfsHandler __all__ = [ "Api", Loading src/api/handlers/__init__.py 0 → 100644 +33 −0 Original line number Diff line number Diff line # Copyright 2022-2026 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. # This file is an original contribution from Telefonica Innovación Digital S.L. """Handlers subpackage initialization.""" from __future__ import annotations from src.api.handlers.base_handler import BaseSliceHandler from src.api.handlers.e2e_handler import E2EHandler from src.api.handlers.ixia_handler import IxiaHandler from src.api.handlers.restconf_handler import RestconfHandler from src.api.handlers.tfs_handler import TfsHandler __all__ = [ "BaseSliceHandler", "E2EHandler", "IxiaHandler", "RestconfHandler", "TfsHandler", ] src/api/base_handler.py→src/api/handlers/base_handler.py +0 −0 File moved. View file Loading
.gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -24,3 +24,5 @@ alert.db .python-version .agents/ .coverage .ruff_cache/ .pytest_cache/
pyproject.toml +4 −0 Original line number Diff line number Diff line Loading @@ -17,3 +17,7 @@ ignore = [ testpaths = ["src/tests"] pythonpath = ["."] addopts = "-v --tb=short" [tool.pyright] extraPaths = ["."]
src/api/__init__.py +5 −5 Original line number Diff line number Diff line Loading @@ -18,12 +18,12 @@ from __future__ import annotations from src.api.base_handler import BaseSliceHandler from src.api.e2e_handler import E2EHandler from src.api.ixia_handler import IxiaHandler from src.api.handlers.base_handler import BaseSliceHandler from src.api.handlers.e2e_handler import E2EHandler from src.api.handlers.ixia_handler import IxiaHandler from src.api.handlers.restconf_handler import RestconfHandler from src.api.handlers.tfs_handler import TfsHandler from src.api.main import Api from src.api.restconf_handler import RestconfHandler from src.api.tfs_handler import TfsHandler __all__ = [ "Api", Loading
src/api/handlers/__init__.py 0 → 100644 +33 −0 Original line number Diff line number Diff line # Copyright 2022-2026 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. # This file is an original contribution from Telefonica Innovación Digital S.L. """Handlers subpackage initialization.""" from __future__ import annotations from src.api.handlers.base_handler import BaseSliceHandler from src.api.handlers.e2e_handler import E2EHandler from src.api.handlers.ixia_handler import IxiaHandler from src.api.handlers.restconf_handler import RestconfHandler from src.api.handlers.tfs_handler import TfsHandler __all__ = [ "BaseSliceHandler", "E2EHandler", "IxiaHandler", "RestconfHandler", "TfsHandler", ]