maleo-foundation 0.1.92__py3-none-any.whl → 0.1.93__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -180,15 +180,17 @@ class ServiceManager:
180
180
  static_configurations_path = Path(self._settings.STATIC_CONFIGURATIONS_PATH)
181
181
  if static_configurations_path.exists() and static_configurations_path.is_file():
182
182
  static_configurations = YAMLLoader.load(self._settings.STATIC_CONFIGURATIONS_PATH)
183
+ static_configs = StaticConfigurations.model_validate(static_configurations)
183
184
  else:
184
185
  static_configurations = self._secret_manager.get(f"maleo-static-config-{self._settings.ENVIRONMENT}")
185
- static_configs = StaticConfigurations.model_validate(static_configurations)
186
+ static_configs = StaticConfigurations.model_validate_strings(static_configurations)
186
187
  runtime_configurations_path = Path(self._settings.RUNTIME_CONFIGURATIONS_PATH)
187
188
  if runtime_configurations_path.exists() and runtime_configurations_path.is_file():
188
189
  runtime_configurations = YAMLLoader.load(self._settings.RUNTIME_CONFIGURATIONS_PATH)
190
+ runtime_configs = RuntimeConfigurations.model_validate(runtime_configurations)
189
191
  else:
190
192
  runtime_configurations = self._secret_manager.get(f"{self._settings.SERVICE_KEY}-runtime-config-{self._settings.ENVIRONMENT}")
191
- runtime_configs = RuntimeConfigurations.model_validate(runtime_configurations)
193
+ runtime_configs = RuntimeConfigurations.model_validate_strings(runtime_configurations)
192
194
  password = self._secret_manager.get(name=f"maleo-db-password-{self._settings.ENVIRONMENT}")
193
195
  host = self._secret_manager.get(name=f"maleo-db-host-{self._settings.ENVIRONMENT}")
194
196
  database = DatabaseConfigurations(password=password, host=host, database=runtime_configs.database)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.1.92
3
+ Version: 0.1.93
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -32,7 +32,7 @@ maleo_foundation/expanded_types/encryption/rsa.py,sha256=MuhB_DGrjnsl4t96W4pKuCt
32
32
  maleo_foundation/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  maleo_foundation/managers/db.py,sha256=Pn5EZ-c1Hy6-BihN7KokHJWmBIt3Ty96fZ0zF-srtF4,5208
34
34
  maleo_foundation/managers/middleware.py,sha256=ODIQU1Hpu-Xempjjo_VRbVtxiD5oi74mNuoWuDawRh0,4250
35
- maleo_foundation/managers/service.py,sha256=hPimC1VYQv2e8kZz6omCKWCtnvEnY5Wa1BdqxtFLoo8,15419
35
+ maleo_foundation/managers/service.py,sha256=G-jQBX-iNmyS-T2L0vQbISuCBMGF-np-mObZfVxwhc0,15622
36
36
  maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  maleo_foundation/managers/client/base.py,sha256=5z9l2GN4QASF0-Lft8o5QQ3SRPXqeNZNT1S1CgaE764,4384
38
38
  maleo_foundation/managers/client/maleo.py,sha256=iCM47TLL-RSQ2FkTmHVPdsb2JCd1LebMx6OJvIr4vCQ,2035
@@ -107,7 +107,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
107
107
  maleo_foundation/utils/loaders/credential/google.py,sha256=deksZXT5wPhEsSMHbZ3x05WHXxCjLDt76Ns-1Tmhp7g,948
108
108
  maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
109
109
  maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
110
- maleo_foundation-0.1.92.dist-info/METADATA,sha256=_0kHhXfFtNR1_LEZvIVn1d9tUc3fjvC3BMXJ4x8-qf0,3419
111
- maleo_foundation-0.1.92.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
112
- maleo_foundation-0.1.92.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
113
- maleo_foundation-0.1.92.dist-info/RECORD,,
110
+ maleo_foundation-0.1.93.dist-info/METADATA,sha256=2t7Fn4bs5gQr38hui8KNvtf6W-AyyD-NZpWjF4frAwA,3419
111
+ maleo_foundation-0.1.93.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
112
+ maleo_foundation-0.1.93.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
113
+ maleo_foundation-0.1.93.dist-info/RECORD,,