"""
@file
@defgroup rtctk_componentFramework_services_runtimeRepo Runtime Configuration Repository
@ingroup rtctk_componentFramework_services

@brief Runtime Configuration Repository Service.

@copyright
  SPDX-FileCopyrightText: 2020-2026 European Southern Observatory (ESO) @n
  SPDX-License-Identifier: LGPL-3.0-only
"""

from wtools.module import declare_cshlib

declare_cshlib(
    target="rtctkRuntimeRepo",
    use=[
        "componentFramework.services.common",
        "componentFramework.services.events",
        "componentFramework.services.oldb",
    ],
    ut_attrs=dict(
        use=lambda pkgs, _: pkgs
        + [
            "componentFramework.services.testSupport.common",
            "componentFramework.services.testSupport.inMemoryOldb",
        ]
    ),
)
