port-ocean 0.28.2__py3-none-any.whl → 0.28.3__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.
- port_ocean/core/handlers/resync_state_updater/updater.py +4 -2
- port_ocean/helpers/metric/metric.py +1 -1
- port_ocean/ocean.py +1 -1
- {port_ocean-0.28.2.dist-info → port_ocean-0.28.3.dist-info}/METADATA +1 -1
- {port_ocean-0.28.2.dist-info → port_ocean-0.28.3.dist-info}/RECORD +8 -8
- {port_ocean-0.28.2.dist-info → port_ocean-0.28.3.dist-info}/LICENSE.md +0 -0
- {port_ocean-0.28.2.dist-info → port_ocean-0.28.3.dist-info}/WHEEL +0 -0
- {port_ocean-0.28.2.dist-info → port_ocean-0.28.3.dist-info}/entry_points.txt +0 -0
@@ -60,7 +60,9 @@ class ResyncStateUpdater:
|
|
60
60
|
async def update_after_resync(
|
61
61
|
self,
|
62
62
|
status: Literal[
|
63
|
-
IntegrationStateStatus.Completed,
|
63
|
+
IntegrationStateStatus.Completed,
|
64
|
+
IntegrationStateStatus.Failed,
|
65
|
+
IntegrationStateStatus.Aborted,
|
64
66
|
] = IntegrationStateStatus.Completed,
|
65
67
|
interval: int | None = None,
|
66
68
|
custom_start_time: datetime.datetime | None = None,
|
@@ -100,4 +102,4 @@ class ResyncStateUpdater:
|
|
100
102
|
await ocean.metrics.report_sync_metrics(
|
101
103
|
kinds=[ocean.metrics.current_resource_kind()]
|
102
104
|
)
|
103
|
-
ocean.metrics.event_id = ""
|
105
|
+
ocean.metrics.event_id = f"{ocean.metrics.event_id}-done"
|
port_ocean/ocean.py
CHANGED
@@ -105,7 +105,7 @@ class Ocean:
|
|
105
105
|
This ensures Port is notified that the integration was interrupted.
|
106
106
|
"""
|
107
107
|
try:
|
108
|
-
if self.metrics.event_id
|
108
|
+
if self.metrics.event_id.find("-done") == -1:
|
109
109
|
await self.resync_state_updater.update_after_resync(
|
110
110
|
IntegrationStateStatus.Aborted
|
111
111
|
)
|
@@ -111,7 +111,7 @@ port_ocean/core/handlers/queue/abstract_queue.py,sha256=SaivrYbqg8qsX6wtQlJZyxgc
|
|
111
111
|
port_ocean/core/handlers/queue/group_queue.py,sha256=JvvJOwz9z_aI4CjPr7yQX-0rOgqLI5wMdxWk2x5x-34,4989
|
112
112
|
port_ocean/core/handlers/queue/local_queue.py,sha256=Y6qabDbrQ8aOPTN6Ct3lnMU7JnT8O8iTpoxMoVt6lFs,643
|
113
113
|
port_ocean/core/handlers/resync_state_updater/__init__.py,sha256=kG6y-JQGpPfuTHh912L_bctIDCzAK4DN-d00S7rguWU,81
|
114
|
-
port_ocean/core/handlers/resync_state_updater/updater.py,sha256=
|
114
|
+
port_ocean/core/handlers/resync_state_updater/updater.py,sha256=UWUwHX8-Sr6UxCjcpgInonM_2SbO2WWgawONtZJZQB8,3937
|
115
115
|
port_ocean/core/handlers/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
116
116
|
port_ocean/core/handlers/webhook/abstract_webhook_processor.py,sha256=5KwZkdkDd5HdVkXPzKiqabodZKl-hOtMypkTKd8Hq3M,3891
|
117
117
|
port_ocean/core/handlers/webhook/processor_manager.py,sha256=0KRPD1ae-7w0na2AZY-rq9_gY0IaMv9LdwEh6y4_OiQ,13282
|
@@ -141,7 +141,7 @@ port_ocean/exceptions/utils.py,sha256=gjOqpi-HpY1l4WlMFsGA9yzhxDhajhoGGdDDyGbLnq
|
|
141
141
|
port_ocean/exceptions/webhook_processor.py,sha256=4SnkVzVwiacH_Ip4qs1hRHa6GanhnojW_TLTdQQtm7Y,363
|
142
142
|
port_ocean/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
143
143
|
port_ocean/helpers/async_client.py,sha256=M8gKUjX8ZwRbmJ-U6KNq-p-nfGr0CwHdS0eN_pbZAJ0,2103
|
144
|
-
port_ocean/helpers/metric/metric.py,sha256
|
144
|
+
port_ocean/helpers/metric/metric.py,sha256=6SMxov1WcZAV0NehMGMqWiLoOIpw-2fOpVbtPWhmW1c,14544
|
145
145
|
port_ocean/helpers/metric/utils.py,sha256=1lAgrxnZLuR_wUNDyPOPzLrm32b8cDdioob2lvnPQ1A,1619
|
146
146
|
port_ocean/helpers/retry.py,sha256=QM04mzaevIUlg8HnHjeY9UT_D4k26BHx3hVkCjV_jnY,21675
|
147
147
|
port_ocean/helpers/stream.py,sha256=_UwsThzXynxWzL8OlBT1pmb2evZBi9HaaqeAGNuTuOI,2338
|
@@ -150,7 +150,7 @@ port_ocean/log/handlers.py,sha256=LJ1WAfq7wYCrBpeLPihMKmWjdSahKKXNHFMRYkbk0Co,36
|
|
150
150
|
port_ocean/log/logger_setup.py,sha256=5JxGlg7TKDbYD2ladgaHufCv6PTJXvdQJ8l6cP3MKFA,2700
|
151
151
|
port_ocean/log/sensetive.py,sha256=lVKiZH6b7TkrZAMmhEJRhcl67HNM94e56x12DwFgCQk,2920
|
152
152
|
port_ocean/middlewares.py,sha256=9wYCdyzRZGK1vjEJ28FY_DkfwDNENmXp504UKPf5NaQ,2727
|
153
|
-
port_ocean/ocean.py,sha256=
|
153
|
+
port_ocean/ocean.py,sha256=1aurpHc47BecmnaVDVmR8LCqm5Nfa3-ltkM_xZPxu1w,9570
|
154
154
|
port_ocean/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
155
155
|
port_ocean/run.py,sha256=CmKz14bxfdOooNbQ5QqH1MwX-XLYVG4NgT4KbrzFaqI,2216
|
156
156
|
port_ocean/sonar-project.properties,sha256=X_wLzDOkEVmpGLRMb2fg9Rb0DxWwUFSvESId8qpvrPI,73
|
@@ -208,8 +208,8 @@ port_ocean/utils/repeat.py,sha256=U2OeCkHPWXmRTVoPV-VcJRlQhcYqPWI5NfmPlb1JIbc,32
|
|
208
208
|
port_ocean/utils/signal.py,sha256=J1sI-e_32VHP_VUa5bskLMFoJjJOAk5isrnewKDikUI,2125
|
209
209
|
port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
|
210
210
|
port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
|
211
|
-
port_ocean-0.28.
|
212
|
-
port_ocean-0.28.
|
213
|
-
port_ocean-0.28.
|
214
|
-
port_ocean-0.28.
|
215
|
-
port_ocean-0.28.
|
211
|
+
port_ocean-0.28.3.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
212
|
+
port_ocean-0.28.3.dist-info/METADATA,sha256=BFLgflGSS3njXnb1WyHEF2QXQcPqmmg0W_hhMSwF4BI,7015
|
213
|
+
port_ocean-0.28.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
214
|
+
port_ocean-0.28.3.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
|
215
|
+
port_ocean-0.28.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|