Skip to content

Commit 0e82b58

Browse files
committed
moving modules
1 parent e11ea3b commit 0e82b58

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

services/storage/src/simcore_service_storage/api/rest/health.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
from ..._meta import API_VERSION, API_VTAG, PROJECT_NAME, VERSION
1818
from ...constants import APP_CONFIG_KEY
19+
from ...core.settings import Settings
1920
from ...db import get_engine_state
2021
from ...db import is_service_responsive as is_pg_responsive
2122
from ...s3 import get_s3_client
22-
from ...settings import Settings
2323

2424
_logger = logging.getLogger(__name__)
2525

services/storage/src/simcore_service_storage/api/rest/locations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919

2020
# Exclusive for simcore-s3 storage -----------------------
2121
from ..._meta import API_VTAG
22+
from ...core.settings import Settings
2223
from ...dsm import get_dsm_provider
2324
from ...models import (
2425
LocationPathParams,
2526
StorageQueryParamsBase,
2627
SyncMetadataQueryParams,
2728
SyncMetadataResponse,
2829
)
29-
from ...settings import Settings
3030
from ...simcore_s3_dsm import SimcoreS3DataManager
3131

3232
_logger = logging.getLogger(__name__)

services/storage/src/simcore_service_storage/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from servicelib.logging_utils import config_all_loggers
55
from settings_library.utils_cli import create_settings_command
66

7-
from . import application
8-
from .settings import Settings
7+
from .core import application
8+
from .core.settings import Settings
99

1010
LOG_LEVEL_STEP = logging.CRITICAL - logging.ERROR
1111

services/storage/src/simcore_service_storage/core/__init__.py

Whitespace-only changes.

services/storage/src/simcore_service_storage/application.py renamed to services/storage/src/simcore_service_storage/core/application.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
from servicelib.aiohttp.tracing import setup_tracing
1616
from settings_library.tracing import TracingSettings
1717

18-
from ._meta import APP_NAME, APP_STARTED_BANNER_MSG, VERSION
19-
from .api.rest.utils import dsm_exception_handler
20-
from .db import setup_db
21-
from .dsm import setup_dsm
22-
from .dsm_cleaner import setup_dsm_cleaner
23-
from .long_running_tasks import setup_rest_api_long_running_tasks
24-
from .redis import setup_redis
25-
from .routes import setup_rest_api_routes
26-
from .s3 import setup_s3
18+
from .._meta import APP_NAME, APP_STARTED_BANNER_MSG, VERSION
19+
from ..api.rest.utils import dsm_exception_handler
20+
from ..db import setup_db
21+
from ..dsm import setup_dsm
22+
from ..dsm_cleaner import setup_dsm_cleaner
23+
from ..long_running_tasks import setup_rest_api_long_running_tasks
24+
from ..redis import setup_redis
25+
from ..routes import setup_rest_api_routes
26+
from ..s3 import setup_s3
2727
from .settings import Settings
2828

2929
_ACCESS_LOG_FORMAT: Final[

services/storage/src/simcore_service_storage/settings.py renamed to services/storage/src/simcore_service_storage/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from settings_library.tracing import TracingSettings
1818
from settings_library.utils_logging import MixinLoggingSettings
1919

20-
from .datcore_adapter.datcore_adapter_settings import DatcoreAdapterSettings
20+
from ..datcore_adapter.datcore_adapter_settings import DatcoreAdapterSettings
2121

2222

2323
class Settings(BaseCustomSettings, MixinLoggingSettings):

services/storage/src/simcore_service_storage/dsm_cleaner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
from servicelib.logging_utils import log_catch, log_context
3030

3131
from .constants import APP_CONFIG_KEY, APP_DSM_KEY
32+
from .core.settings import Settings
3233
from .dsm_factory import DataManagerProvider
3334
from .redis import get_redis_client
34-
from .settings import Settings
3535
from .simcore_s3_dsm import SimcoreS3DataManager
3636

3737
_logger = logging.getLogger(__name__)

services/storage/src/simcore_service_storage/models/__init__.py

Whitespace-only changes.

services/storage/src/simcore_service_storage/redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ._meta import APP_NAME
99
from .constants import APP_CONFIG_KEY
10-
from .settings import Settings
10+
from .core.settings import Settings
1111

1212
_logger = logging.getLogger(__name__)
1313

services/storage/src/simcore_service_storage/s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from tenacity.wait import wait_fixed
1414

1515
from .constants import APP_CONFIG_KEY, APP_S3_KEY, RETRY_WAIT_SECS
16-
from .settings import Settings
16+
from .core.settings import Settings
1717

1818
_logger = logging.getLogger(__name__)
1919

0 commit comments

Comments
 (0)