Coverage for src/ezcompiler/services/__init__.py: 100.00%

13 statements  

« prev     ^ index     » next       coverage.py v7.16.2, created at 2026-10-16 16:37 +0000

1# /////////////////////////////////////////////////////////////// 

2# SERVICES - Business logic layer 

3# Project: ezcompiler 

4# /////////////////////////////////////////////////////////////// 

5 

6""" 

7Services module - Business logic services for EzCompiler. 

8 

9This module provides services that implement the core business logic: 

10- Compiler service for compilation operations 

11- Config service for configuration management 

12- Pipeline service for build pipeline orchestration 

13- Template service for template processing 

14- Uploader service for artifact distribution 

15 

16Services can call other services and utils, but not interfaces. 

17""" 

18 

19from __future__ import annotations 

20 

21# /////////////////////////////////////////////////////////////// 

22# IMPORTS 

23# /////////////////////////////////////////////////////////////// 

24# Local imports 

25from ..shared import CompilationResult, CompilerConfig 

26from .compiler_service import CompilerService 

27from .config_service import ConfigService 

28from .installer_service import InstallerService 

29from .pipeline_service import PipelineService 

30from .publish_service import PublishService 

31from .release_service import ReleaseService 

32from .template_service import TemplateService 

33from .tuf_service import TufService 

34from .updater_service import UpdaterService 

35from .uploader_service import UploaderService 

36 

37# /////////////////////////////////////////////////////////////// 

38# PUBLIC API 

39# /////////////////////////////////////////////////////////////// 

40 

41__all__ = [ 

42 # Services 

43 "CompilerService", 

44 "CompilerConfig", 

45 "ConfigService", 

46 "InstallerService", 

47 "PipelineService", 

48 "PublishService", 

49 "ReleaseService", 

50 "TemplateService", 

51 "TufService", 

52 "UpdaterService", 

53 "UploaderService", 

54 # Result types 

55 "CompilationResult", 

56]