Skip to content

Commit 992906d

Browse files
committed
notes
1 parent cb8bca9 commit 992906d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

services/web/server/src/simcore_service_webserver/licenses/settings.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import datetime
12
from typing import Annotated
23

34
from pydantic import Field
@@ -7,7 +8,12 @@
78

89

910
class LicensesSettings(BaseCustomSettings):
11+
LICENSES_SYNCER_ENABLED: bool
12+
LICENSES_SYNCER_PERIODICITY: datetime.timedelta
13+
14+
# Registered licensed resources:
1015
LICENSES_ITIS_VIP: Annotated[
1116
ItisVipSettings | None, Field(description="Settings for VIP license models")
1217
]
13-
# other licenses resources come here
18+
19+
# other licensed resources come here ...

services/web/server/tests/unit/with_dbs/04/licenses/test_itis_vip_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_pre_validator_feature_descriptor_to_dict():
3131

3232
@pytest.fixture(scope="session")
3333
def fake_api_base_url() -> str:
34-
return "https://testserver"
34+
return "https://testserver-itis-vip.xyz"
3535

3636

3737
@pytest.fixture

0 commit comments

Comments
 (0)