Skip to content

Commit de9e184

Browse files
committed
use app_name everywhere and correct dask sidecar name
1 parent c027a84 commit de9e184

File tree

12 files changed

+19
-33
lines changed
  • services
    • api-server/src/simcore_service_api_server
    • autoscaling/src/simcore_service_autoscaling
    • catalog/src/simcore_service_catalog
    • dask-sidecar/src/simcore_service_dask_sidecar
    • director-v2/src/simcore_service_director_v2
    • director/src/simcore_service_director
    • dynamic-scheduler/src/simcore_service_dynamic_scheduler
    • invitations/src/simcore_service_invitations
    • payments/src/simcore_service_payments
    • resource-usage-tracker/src/simcore_service_resource_usage_tracker
    • storage/src/simcore_service_storage
    • web/server/src/simcore_service_webserver

12 files changed

+19
-33
lines changed

services/api-server/src/simcore_service_api_server/_meta.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
""" Application's metadata
2-
3-
"""
4-
1+
"""Application's metadata"""
52

63
from typing import Final
74

@@ -17,7 +14,7 @@
1714
VERSION: Final[Version] = info.version
1815
API_VERSION: Final[VersionStr] = info.__version__
1916
API_VTAG: Final[str] = info.api_prefix_path_tag
20-
APP_NAME: Final[str] = PROJECT_NAME
17+
APP_NAME: Final[str] = info.app_name
2118
SUMMARY: Final[str] = info.get_summary()
2219

2320

services/autoscaling/src/simcore_service_autoscaling/_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
info: Final = PackageInfo(package_name="simcore-service-autoscaling")
99
__version__: Final[VersionStr] = info.__version__
1010

11-
APP_NAME: Final[str] = info.project_name
11+
APP_NAME: Final[str] = info.app_name
1212
API_VERSION: Final[VersionStr] = info.__version__
1313
VERSION: Final[Version] = info.version
1414
API_VTAG: Final[VersionTag] = TypeAdapter(VersionTag).validate_python(

services/catalog/src/simcore_service_catalog/_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
VERSION: Final[Version] = info.version
1313
API_VERSION: Final[VersionStr] = info.__version__
1414
API_VTAG: Final[str] = info.api_prefix_path_tag
15-
APP_NAME: Final[str] = info.project_name
15+
APP_NAME: Final[str] = info.app_name
1616
SUMMARY: Final[str] = info.get_summary()
1717

1818

services/dask-sidecar/src/simcore_service_dask_sidecar/_meta.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
""" Application's metadata
2-
3-
"""
4-
1+
"""Application's metadata"""
52

63
from typing import Final
74

85
import dask
96
from models_library.basic_types import VersionStr
107
from servicelib.utils_meta import PackageInfo
118

12-
info: Final = PackageInfo(package_name="simcore_service_dask_sidecar")
9+
info: Final = PackageInfo(package_name="simcore-service-dask-sidecar")
1310
__version__: Final[VersionStr] = info.__version__
1411

1512

services/director-v2/src/simcore_service_director_v2/_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
VERSION: Final[Version] = info.version
1515
API_VERSION: Final[VersionStr] = info.__version__
1616
API_VTAG: Final[str] = info.api_prefix_path_tag
17-
APP_NAME: Final[str] = PROJECT_NAME
17+
APP_NAME: Final[str] = info.app_name
1818
SUMMARY: Final[str] = info.get_summary()

services/director/src/simcore_service_director/_meta.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
""" Application's metadata
2-
3-
"""
1+
"""Application's metadata"""
42

53
from typing import Final
64

@@ -15,7 +13,7 @@
1513
PROJECT_NAME: Final[str] = info.project_name
1614
VERSION: Final[Version] = info.version
1715
API_VERSION: Final[VersionStr] = info.__version__
18-
APP_NAME: Final[str] = PROJECT_NAME
16+
APP_NAME: Final[str] = info.app_name
1917
API_VTAG: Final[VersionTag] = VersionTag(info.api_prefix_path_tag)
2018
SUMMARY: Final[str] = info.get_summary()
2119

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/_meta.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
""" Application's metadata
1+
"""Application's metadata"""
22

3-
"""
43
from typing import Final
54

65
from models_library.basic_types import VersionStr
@@ -14,7 +13,7 @@
1413
PROJECT_NAME: Final[str] = info.project_name
1514
VERSION: Final[Version] = info.version
1615
API_VERSION: Final[VersionStr] = info.__version__
17-
APP_NAME = PROJECT_NAME
16+
APP_NAME: Final[str] = info.app_name
1817
API_VTAG: Final[str] = info.api_prefix_path_tag
1918
SUMMARY: Final[str] = info.get_summary()
2019

services/invitations/src/simcore_service_invitations/_meta.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
""" Application's metadata
2-
3-
"""
1+
"""Application's metadata"""
42

53
from typing import Final
64

@@ -16,7 +14,7 @@
1614
PROJECT_NAME: Final[str] = info.project_name
1715
VERSION: Final[Version] = info.version
1816
API_VERSION: Final[VersionStr] = info.__version__
19-
APP_NAME = PROJECT_NAME
17+
APP_NAME: Final[str] = info.app_name
2018
API_VTAG: Final[VersionTag] = VersionTag(info.api_prefix_path_tag)
2119
SUMMARY: Final[str] = info.get_summary()
2220

services/payments/src/simcore_service_payments/_meta.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
""" Application's metadata
1+
"""Application's metadata"""
22

3-
"""
43
from typing import Final
54

65
from models_library.basic_types import VersionStr
@@ -14,7 +13,7 @@
1413
PROJECT_NAME: Final[str] = info.project_name
1514
VERSION: Final[Version] = info.version
1615
API_VERSION: Final[VersionStr] = info.__version__
17-
APP_NAME: Final[str] = PROJECT_NAME
16+
APP_NAME: Final[str] = info.app_name
1817
API_VTAG: Final[str] = info.api_prefix_path_tag
1918
SUMMARY: Final[str] = info.get_summary()
2019

services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/_meta.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
""" Application's metadata
2-
3-
"""
1+
"""Application's metadata"""
42

53
from typing import Final
64

@@ -21,7 +19,7 @@
2119
info.api_prefix_path_tag
2220
)
2321
SUMMARY: Final[str] = info.get_summary()
24-
APP_NAME: Final[str] = PROJECT_NAME
22+
APP_NAME: Final[str] = info.app_name
2523

2624
# NOTE: https://texteditor.com/ascii-frames/
2725
APP_STARTED_BANNER_MSG = r"""

0 commit comments

Comments
 (0)