port-ocean 0.28.3__py3-none-any.whl → 0.28.5__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.
Potentially problematic release.
This version of port-ocean might be problematic. Click here for more details.
- integrations/_infra/Dockerfile.Deb +5 -1
- port_ocean/core/integrations/mixins/sync_raw.py +6 -1
- {port_ocean-0.28.3.dist-info → port_ocean-0.28.5.dist-info}/METADATA +1 -1
- {port_ocean-0.28.3.dist-info → port_ocean-0.28.5.dist-info}/RECORD +7 -7
- {port_ocean-0.28.3.dist-info → port_ocean-0.28.5.dist-info}/LICENSE.md +0 -0
- {port_ocean-0.28.3.dist-info → port_ocean-0.28.5.dist-info}/WHEEL +0 -0
- {port_ocean-0.28.3.dist-info → port_ocean-0.28.5.dist-info}/entry_points.txt +0 -0
|
@@ -69,18 +69,22 @@ COPY --from=base /app/.venv /app/.venv
|
|
|
69
69
|
COPY ./integrations/_infra/init.sh /app/init.sh
|
|
70
70
|
|
|
71
71
|
USER root
|
|
72
|
+
|
|
72
73
|
# Ensure that ocean is available for all in path
|
|
73
74
|
RUN chmod a+x /app/.venv/bin/ocean
|
|
74
75
|
|
|
75
76
|
RUN chmod a+x /app/init.sh
|
|
76
77
|
RUN ln -s /app/.venv/bin/ocean /usr/bin/ocean
|
|
78
|
+
|
|
77
79
|
# Add ocean user to ssl certs group
|
|
78
|
-
RUN setfacl -m u:ocean:rwX /etc/ssl/certs
|
|
80
|
+
RUN setfacl -R -m u:ocean:rwX /etc/ssl/certs \
|
|
81
|
+
&& setfacl -d -m u:ocean:rwX /etc/ssl/certs
|
|
79
82
|
|
|
80
83
|
# Allow ocean user to run update-ca-certificates without password (secure, limited sudo)
|
|
81
84
|
RUN echo "ocean ALL=(root) NOPASSWD: /usr/sbin/update-ca-certificates" >> /etc/sudoers.d/ocean-certs \
|
|
82
85
|
&& chmod 440 /etc/sudoers.d/ocean-certs
|
|
83
86
|
|
|
84
87
|
USER ocean
|
|
88
|
+
|
|
85
89
|
# Run the application
|
|
86
90
|
CMD ["bash", "/app/init.sh"]
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
+
import sys
|
|
2
3
|
import uuid
|
|
3
4
|
from graphlib import CycleError
|
|
4
5
|
import inspect
|
|
@@ -1002,7 +1003,11 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
|
|
|
1002
1003
|
|
|
1003
1004
|
creation_results: list[tuple[list[Entity], list[Exception]]] = []
|
|
1004
1005
|
|
|
1005
|
-
|
|
1006
|
+
if sys.platform.startswith("win"):
|
|
1007
|
+
# fork is not supported on windows
|
|
1008
|
+
multiprocessing.set_start_method("spawn", True)
|
|
1009
|
+
else:
|
|
1010
|
+
multiprocessing.set_start_method("fork", True)
|
|
1006
1011
|
try:
|
|
1007
1012
|
for index, resource in enumerate(app_config.resources):
|
|
1008
1013
|
logger.info(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
integrations/_infra/Dockerfile.Deb,sha256=
|
|
1
|
+
integrations/_infra/Dockerfile.Deb,sha256=QNyStzc0Zov1e3sejWna84yhrdOPO8Ogc-r_he3fYT4,2549
|
|
2
2
|
integrations/_infra/Dockerfile.alpine,sha256=7E4Sb-8supsCcseerHwTkuzjHZoYcaHIyxiBZ-wewo0,3482
|
|
3
3
|
integrations/_infra/Dockerfile.base.builder,sha256=ESe1PKC6itp_AuXawbLI75k1Kruny6NTANaTinxOgVs,743
|
|
4
4
|
integrations/_infra/Dockerfile.base.runner,sha256=uAcs2IsxrAAUHGXt_qULA5INr-HFguf5a5fCKiqEzbY,384
|
|
@@ -123,7 +123,7 @@ port_ocean/core/integrations/mixins/events.py,sha256=2L7P3Jhp8XBqddh2_o9Cn4N261n
|
|
|
123
123
|
port_ocean/core/integrations/mixins/handler.py,sha256=mZ7-0UlG3LcrwJttFbMe-R4xcOU2H_g33tZar7PwTv8,3771
|
|
124
124
|
port_ocean/core/integrations/mixins/live_events.py,sha256=zM24dhNc7uHx9XYZ6toVhDADPA90EnpOmZxgDegFZbA,4196
|
|
125
125
|
port_ocean/core/integrations/mixins/sync.py,sha256=Vm_898pLKBwfVewtwouDWsXoxcOLicnAy6pzyqqk6U8,4053
|
|
126
|
-
port_ocean/core/integrations/mixins/sync_raw.py,sha256=
|
|
126
|
+
port_ocean/core/integrations/mixins/sync_raw.py,sha256=49P9b4Fc5L3NUYmv0W2fzwJ5hariuDqQ0frURw-9o54,40929
|
|
127
127
|
port_ocean/core/integrations/mixins/utils.py,sha256=ytnFX7Lyv6N3CgBnOXxYaI1cRDq5Z4NDrVFiwE6bn-M,5250
|
|
128
128
|
port_ocean/core/models.py,sha256=DNbKpStMINI2lIekKprTqBevqkw_wFuFayN19w1aDfQ,2893
|
|
129
129
|
port_ocean/core/ocean_types.py,sha256=bkLlTd8XfJK6_JDl0eXUHfE_NygqgiInSMwJ4YJH01Q,1399
|
|
@@ -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.5.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
212
|
+
port_ocean-0.28.5.dist-info/METADATA,sha256=yunhcg6jhCxLGWapBg8_RTsVbOJuDplU3XO76vJiNNg,7015
|
|
213
|
+
port_ocean-0.28.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
214
|
+
port_ocean-0.28.5.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
|
|
215
|
+
port_ocean-0.28.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|