orchestrator-core 4.5.0a3__py3-none-any.whl → 4.5.0a4__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.
- orchestrator/__init__.py +1 -1
- orchestrator/api/api_v1/api.py +7 -5
- orchestrator/workflows/steps.py +15 -1
- {orchestrator_core-4.5.0a3.dist-info → orchestrator_core-4.5.0a4.dist-info}/METADATA +5 -5
- {orchestrator_core-4.5.0a3.dist-info → orchestrator_core-4.5.0a4.dist-info}/RECORD +7 -7
- {orchestrator_core-4.5.0a3.dist-info → orchestrator_core-4.5.0a4.dist-info}/WHEEL +0 -0
- {orchestrator_core-4.5.0a3.dist-info → orchestrator_core-4.5.0a4.dist-info}/licenses/LICENSE +0 -0
orchestrator/__init__.py
CHANGED
orchestrator/api/api_v1/api.py
CHANGED
|
@@ -76,20 +76,22 @@ api_router.include_router(user.router, prefix="/user", tags=["Core", "User"], de
|
|
|
76
76
|
api_router.include_router(
|
|
77
77
|
settings.router, prefix="/settings", tags=["Core", "Settings"], dependencies=[Depends(authorize)]
|
|
78
78
|
)
|
|
79
|
-
api_router.include_router(
|
|
79
|
+
api_router.include_router(
|
|
80
|
+
settings.ws_router, prefix="/settings", tags=["Core", "Settings"]
|
|
81
|
+
) # Auth on the websocket is handled in the Websocket Manager
|
|
80
82
|
api_router.include_router(health.router, prefix="/health", tags=["Core"])
|
|
81
83
|
api_router.include_router(
|
|
82
84
|
translations.router,
|
|
83
85
|
prefix="/translations",
|
|
84
86
|
tags=["Core", "Translations"],
|
|
85
87
|
)
|
|
86
|
-
api_router.include_router(
|
|
88
|
+
api_router.include_router(
|
|
89
|
+
ws.router, prefix="/ws", tags=["Core", "Events"]
|
|
90
|
+
) # Auth on the websocket is handled in the Websocket Manager
|
|
87
91
|
|
|
88
92
|
if llm_settings.LLM_ENABLED:
|
|
89
93
|
from orchestrator.api.api_v1.endpoints import search
|
|
90
94
|
|
|
91
95
|
api_router.include_router(
|
|
92
|
-
search.router,
|
|
93
|
-
prefix="/search",
|
|
94
|
-
tags=["Core", "Search"],
|
|
96
|
+
search.router, prefix="/search", tags=["Core", "Search"], dependencies=[Depends(authorize)]
|
|
95
97
|
)
|
orchestrator/workflows/steps.py
CHANGED
|
@@ -15,9 +15,12 @@ from copy import deepcopy
|
|
|
15
15
|
import structlog
|
|
16
16
|
from pydantic import ValidationError
|
|
17
17
|
|
|
18
|
+
from orchestrator import llm_settings
|
|
18
19
|
from orchestrator.db import db
|
|
19
20
|
from orchestrator.db.models import ProcessSubscriptionTable
|
|
20
21
|
from orchestrator.domain.base import SubscriptionModel
|
|
22
|
+
from orchestrator.search.core.types import EntityType
|
|
23
|
+
from orchestrator.search.indexing import run_indexing_for_entity
|
|
21
24
|
from orchestrator.services.settings import reset_search_index
|
|
22
25
|
from orchestrator.services.subscriptions import get_subscription
|
|
23
26
|
from orchestrator.targets import Target
|
|
@@ -141,9 +144,20 @@ def set_status(status: SubscriptionLifecycle) -> Step:
|
|
|
141
144
|
|
|
142
145
|
|
|
143
146
|
@step("Refresh subscription search index")
|
|
144
|
-
def refresh_subscription_search_index() -> State:
|
|
147
|
+
def refresh_subscription_search_index(subscription: SubscriptionModel | None) -> State:
|
|
148
|
+
"""Refresh subscription search index.
|
|
149
|
+
|
|
150
|
+
Args:
|
|
151
|
+
subscription: Subscription to refresh search index.
|
|
152
|
+
|
|
153
|
+
Returns:
|
|
154
|
+
State of the workflow.
|
|
155
|
+
|
|
156
|
+
"""
|
|
145
157
|
try:
|
|
146
158
|
reset_search_index()
|
|
159
|
+
if llm_settings.LLM_ENABLED and subscription:
|
|
160
|
+
run_indexing_for_entity(EntityType.SUBSCRIPTION, str(subscription.subscription_id))
|
|
147
161
|
except Exception:
|
|
148
162
|
# Don't fail workflow in case of unexpected error
|
|
149
163
|
logger.warning("Error updated the subscriptions search index")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orchestrator-core
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.0a4
|
|
4
4
|
Summary: This is the orchestrator workflow engine.
|
|
5
5
|
Author-email: SURF <automation-beheer@surf.nl>
|
|
6
6
|
Requires-Python: >=3.11,<3.14
|
|
@@ -36,12 +36,12 @@ Requires-Dist: apscheduler>=3.11.0
|
|
|
36
36
|
Requires-Dist: click==8.*
|
|
37
37
|
Requires-Dist: deepmerge==2.0
|
|
38
38
|
Requires-Dist: deprecated>=1.2.18
|
|
39
|
-
Requires-Dist: fastapi~=0.115.
|
|
39
|
+
Requires-Dist: fastapi~=0.115.14
|
|
40
40
|
Requires-Dist: fastapi-etag==0.4.0
|
|
41
41
|
Requires-Dist: itsdangerous>=2.2.0
|
|
42
42
|
Requires-Dist: jinja2==3.1.6
|
|
43
43
|
Requires-Dist: more-itertools~=10.7.0
|
|
44
|
-
Requires-Dist: nwa-stdlib~=1.9.
|
|
44
|
+
Requires-Dist: nwa-stdlib~=1.9.2
|
|
45
45
|
Requires-Dist: oauth2-lib>=2.4.1
|
|
46
46
|
Requires-Dist: orjson==3.10.18
|
|
47
47
|
Requires-Dist: pgvector>=0.4.1
|
|
@@ -49,7 +49,7 @@ Requires-Dist: prometheus-client==0.22.1
|
|
|
49
49
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
50
50
|
Requires-Dist: pydantic-forms>=1.4.0
|
|
51
51
|
Requires-Dist: pydantic-settings~=2.9.1
|
|
52
|
-
Requires-Dist: pydantic[email]~=2.11.
|
|
52
|
+
Requires-Dist: pydantic[email]~=2.11.7
|
|
53
53
|
Requires-Dist: python-dateutil==2.8.2
|
|
54
54
|
Requires-Dist: python-rapidjson>=1.18,<1.21
|
|
55
55
|
Requires-Dist: pytz==2025.2
|
|
@@ -58,7 +58,7 @@ Requires-Dist: semver==3.0.4
|
|
|
58
58
|
Requires-Dist: sentry-sdk[fastapi]~=2.29.1
|
|
59
59
|
Requires-Dist: sqlalchemy==2.0.41
|
|
60
60
|
Requires-Dist: sqlalchemy-utils==0.41.2
|
|
61
|
-
Requires-Dist: strawberry-graphql>=0.
|
|
61
|
+
Requires-Dist: strawberry-graphql>=0.281.0
|
|
62
62
|
Requires-Dist: structlog>=25.4.0
|
|
63
63
|
Requires-Dist: tabulate==0.9.0
|
|
64
64
|
Requires-Dist: typer==0.15.4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
orchestrator/__init__.py,sha256=
|
|
1
|
+
orchestrator/__init__.py,sha256=gq8astkBpaXLyuRcNaKMx-qGkG8YOvUJ3A6-yBFBfDo,1732
|
|
2
2
|
orchestrator/agentic_app.py,sha256=bBMuH9Ub42nb8oFG0U00SzW_uQqnAayUX2tNs6yz1BM,2810
|
|
3
3
|
orchestrator/app.py,sha256=UPKQuDpg8MWNC6r3SRRbp6l9RBzwb00IMIaGRk-jbCU,13203
|
|
4
4
|
orchestrator/exception_handlers.py,sha256=UsW3dw8q0QQlNLcV359bIotah8DYjMsj2Ts1LfX4ClY,1268
|
|
@@ -16,7 +16,7 @@ orchestrator/api/error_handling.py,sha256=YrPCxSa-DSa9KwqIMlXI-KGBGnbGIW5ukOPiik
|
|
|
16
16
|
orchestrator/api/helpers.py,sha256=s0QRHYw8AvEmlkmRhuEzz9xixaZKUF3YuPzUVHkcoXk,6933
|
|
17
17
|
orchestrator/api/models.py,sha256=z9BDBx7uI4KBHWbD_LVrLsqNQ0_w-Mg9Qiy7PR_rZhk,5996
|
|
18
18
|
orchestrator/api/api_v1/__init__.py,sha256=GyHNfEFCGKQwRiN6rQmvSRH2iYX7npjMZn97n8XzmLU,571
|
|
19
|
-
orchestrator/api/api_v1/api.py,sha256=
|
|
19
|
+
orchestrator/api/api_v1/api.py,sha256=7_alDkK-UfqCauCSCFfQzDIwZHVI_CrRvLCMuCR0408,3276
|
|
20
20
|
orchestrator/api/api_v1/endpoints/__init__.py,sha256=GyHNfEFCGKQwRiN6rQmvSRH2iYX7npjMZn97n8XzmLU,571
|
|
21
21
|
orchestrator/api/api_v1/endpoints/health.py,sha256=iaxs1XX1_250_gKNsspuULCV2GEMBjbtjsmfQTOvMAI,1284
|
|
22
22
|
orchestrator/api/api_v1/endpoints/processes.py,sha256=238Bydgj4ILNyMU_7j_Q7a0WGlfIvKv5ypP7lESU32w,16188
|
|
@@ -360,7 +360,7 @@ orchestrator/websocket/managers/memory_websocket_manager.py,sha256=lF5EEx1iFMCGE
|
|
|
360
360
|
orchestrator/workflows/__init__.py,sha256=NzIGGI-8SNAwCk2YqH6sHhEWbgAY457ntDwjO15N8v4,4131
|
|
361
361
|
orchestrator/workflows/modify_note.py,sha256=eXt5KQvrkOXf-3YEXCn2XbBLP9N-n1pUYRW2t8Odupo,2150
|
|
362
362
|
orchestrator/workflows/removed_workflow.py,sha256=V0Da5TEdfLdZZKD38ig-MTp3_IuE7VGqzHHzvPYQmLI,909
|
|
363
|
-
orchestrator/workflows/steps.py,sha256=
|
|
363
|
+
orchestrator/workflows/steps.py,sha256=RX1ioybVUGy0m5oRubP0QshupXZk3e2fDKeq-Pjs6mY,6991
|
|
364
364
|
orchestrator/workflows/utils.py,sha256=VUCDoIl5XAKtIeAJpVpyW2pCIg3PoVWfwGn28BYlYhA,15424
|
|
365
365
|
orchestrator/workflows/tasks/__init__.py,sha256=GyHNfEFCGKQwRiN6rQmvSRH2iYX7npjMZn97n8XzmLU,571
|
|
366
366
|
orchestrator/workflows/tasks/cleanup_tasks_log.py,sha256=BfWYbPXhnLAHUJ0mlODDnjZnQQAvKCZJDVTwbwOWI04,1624
|
|
@@ -368,7 +368,7 @@ orchestrator/workflows/tasks/resume_workflows.py,sha256=T3iobSJjVgiupe0rClD34kUZ
|
|
|
368
368
|
orchestrator/workflows/tasks/validate_product_type.py,sha256=paG-NAY1bdde3Adt8zItkcBKf5Pxw6f5ngGW6an6dYU,3192
|
|
369
369
|
orchestrator/workflows/tasks/validate_products.py,sha256=kXBGZTkobfYH8e_crhdErT-ypdouH0a3_WLImmbKXcE,8523
|
|
370
370
|
orchestrator/workflows/translations/en-GB.json,sha256=ST53HxkphFLTMjFHonykDBOZ7-P_KxksktZU3GbxLt0,846
|
|
371
|
-
orchestrator_core-4.5.
|
|
372
|
-
orchestrator_core-4.5.
|
|
373
|
-
orchestrator_core-4.5.
|
|
374
|
-
orchestrator_core-4.5.
|
|
371
|
+
orchestrator_core-4.5.0a4.dist-info/licenses/LICENSE,sha256=b-aA5OZQuuBATmLKo_mln8CQrDPPhg3ghLzjPjLn4Tg,11409
|
|
372
|
+
orchestrator_core-4.5.0a4.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
373
|
+
orchestrator_core-4.5.0a4.dist-info/METADATA,sha256=nBP_0HuGT9zaSzcgUuBYsokJLEXmTCoFON0VPm_ISpY,6170
|
|
374
|
+
orchestrator_core-4.5.0a4.dist-info/RECORD,,
|
|
File without changes
|
{orchestrator_core-4.5.0a3.dist-info → orchestrator_core-4.5.0a4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|