port-ocean 0.10.5__py3-none-any.whl → 0.10.6__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.
- port_ocean/bootstrap.py +1 -1
- port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/pyproject.toml +12 -7
- port_ocean/clients/port/mixins/integrations.py +1 -1
- port_ocean/core/defaults/initialize.py +1 -1
- port_ocean/core/utils.py +3 -1
- {port_ocean-0.10.5.dist-info → port_ocean-0.10.6.dist-info}/METADATA +1 -1
- {port_ocean-0.10.5.dist-info → port_ocean-0.10.6.dist-info}/RECORD +10 -10
- {port_ocean-0.10.5.dist-info → port_ocean-0.10.6.dist-info}/LICENSE.md +0 -0
- {port_ocean-0.10.5.dist-info → port_ocean-0.10.6.dist-info}/WHEEL +0 -0
- {port_ocean-0.10.5.dist-info → port_ocean-0.10.6.dist-info}/entry_points.txt +0 -0
port_ocean/bootstrap.py
CHANGED
|
@@ -11,14 +11,14 @@ port_ocean = { version = "^{% version %}", extras = ["cli"] }
|
|
|
11
11
|
[tool.poetry.group.dev.dependencies]
|
|
12
12
|
# Uncomment this if you want to debug the ocean core together with your integration
|
|
13
13
|
# port_ocean = { path = '../../', develop = true, extras = ['all'] }
|
|
14
|
-
|
|
15
|
-
pytest-xdist = "^3.6.1"
|
|
16
|
-
pre-commit = "^3.7.1"
|
|
17
|
-
requests = "^2.32.3"
|
|
18
|
-
black = "^23.3.0"
|
|
14
|
+
black = "^24.4.2"
|
|
19
15
|
mypy = "^1.3.0"
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
pylint = ">=2.17.4,<4.0.0"
|
|
17
|
+
pytest = ">=8.2,<9.0"
|
|
18
|
+
pytest-asyncio = ">=0.24.0"
|
|
19
|
+
pytest-httpx = ">=0.30.0"
|
|
20
|
+
pytest-xdist = "^3.6.1"
|
|
21
|
+
ruff = "^0.6.3"
|
|
22
22
|
towncrier = "^23.6.0"
|
|
23
23
|
|
|
24
24
|
[tool.towncrier]
|
|
@@ -106,3 +106,8 @@ exclude = '''
|
|
|
106
106
|
|\.venv
|
|
107
107
|
)/
|
|
108
108
|
'''
|
|
109
|
+
|
|
110
|
+
[tool.pytest.ini_options]
|
|
111
|
+
asyncio_mode = "auto"
|
|
112
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
113
|
+
addopts = "-vv -n auto ./tests"
|
|
@@ -64,7 +64,7 @@ async def _initialize_required_integration_settings(
|
|
|
64
64
|
)
|
|
65
65
|
if not integration:
|
|
66
66
|
logger.info(
|
|
67
|
-
"Integration does not exist, Creating new integration with default
|
|
67
|
+
"Integration does not exist, Creating new integration with default mapping"
|
|
68
68
|
)
|
|
69
69
|
integration = await port_client.create_integration(
|
|
70
70
|
integration_config.integration.type,
|
port_ocean/core/utils.py
CHANGED
|
@@ -39,7 +39,9 @@ async def validate_integration_runtime(
|
|
|
39
39
|
requested_runtime: Runtime,
|
|
40
40
|
) -> None:
|
|
41
41
|
logger.debug("Validating integration runtime")
|
|
42
|
-
current_integration = await port_client.get_current_integration(
|
|
42
|
+
current_integration = await port_client.get_current_integration(
|
|
43
|
+
should_raise=False, should_log=False
|
|
44
|
+
)
|
|
43
45
|
current_runtime = current_integration.get("installationType", "OnPrem")
|
|
44
46
|
if current_integration and current_runtime != requested_runtime.value:
|
|
45
47
|
raise IntegrationRuntimeException(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
port_ocean/__init__.py,sha256=J3Mqp7d-CkEe9eMigGG8gSEiVKICY2bf7csNEwVOXk0,294
|
|
2
|
-
port_ocean/bootstrap.py,sha256=
|
|
2
|
+
port_ocean/bootstrap.py,sha256=CN1M5pVecZ7z_Vfu86Dk2HjFMiuiwt6E_SSOLFCYRMk,1321
|
|
3
3
|
port_ocean/cli/__init__.py,sha256=ZjTGS305llhbjC2BH2KkVj34gCASBGwqc5HZEO_0T_Q,328
|
|
4
4
|
port_ocean/cli/cli.py,sha256=RvWTELEn5YFw9aM0vaNqm5YqZZrL50ILaBs27ptiGl0,57
|
|
5
5
|
port_ocean/cli/commands/__init__.py,sha256=Y9Q6jeYw_ZAZ-mdfE_5DZTdS2KHhieQZoUTggk_AkwM,369
|
|
@@ -33,7 +33,7 @@ port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/changelog/.gitigno
|
|
|
33
33
|
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/debug.py,sha256=_TRsA2s6GV2E3CTI8CHcsH-ZuH4_Eh5-juDXWaET0ho,65
|
|
34
34
|
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/main.py,sha256=XUwo9yroqSKxAdwVrTKGNGSWvec9n1Rh9Cqvep4HIuE,2257
|
|
35
35
|
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/poetry.toml,sha256=kENq8nNmFPIzw9vySheyG4xHxAPuBSpZO1CYGD6G2NE,46
|
|
36
|
-
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/pyproject.toml,sha256=
|
|
36
|
+
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/pyproject.toml,sha256=6B_RiBsk20XZAb3nXnnUAf_FEiaTGlWedw7NZeVxTz0,2358
|
|
37
37
|
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/sonar-project.properties,sha256=timmRpoSd50BdxLf45OcFUk2qs855z610kzz3yLAqJw,124
|
|
38
38
|
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
port_ocean/cli/cookiecutter/{{cookiecutter.integration_slug}}/tests/test_sample.py,sha256=Ew5LA_G1k6DC5a2ygU2FoyjZQa0fRmPy73N0bio0d14,46
|
|
@@ -45,7 +45,7 @@ port_ocean/clients/port/client.py,sha256=Xd8Jk25Uh4WXY_WW-z1Qbv6F3ZTBFPoOolsxHMf
|
|
|
45
45
|
port_ocean/clients/port/mixins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
46
|
port_ocean/clients/port/mixins/blueprints.py,sha256=8ZVC5i8K1WKQMJJiPqZmgcOlF3OyxWz1aAQ_WA5UW3c,4500
|
|
47
47
|
port_ocean/clients/port/mixins/entities.py,sha256=oyd1mVlaoRnQLMpN9oOuYOC2PqLTMfJ51Z7cNyuVNNc,8647
|
|
48
|
-
port_ocean/clients/port/mixins/integrations.py,sha256=
|
|
48
|
+
port_ocean/clients/port/mixins/integrations.py,sha256=HnWXaJt41SUcha-bhvLdJW07j-l7xIo91GUzzwl2f_E,4859
|
|
49
49
|
port_ocean/clients/port/mixins/migrations.py,sha256=A6896oJF6WbFL2WroyTkMzr12yhVyWqGoq9dtLNSKBY,1457
|
|
50
50
|
port_ocean/clients/port/retry_transport.py,sha256=PtIZOAZ6V-ncpVysRUsPOgt8Sf01QLnTKB5YeKBxkJk,1861
|
|
51
51
|
port_ocean/clients/port/types.py,sha256=nvlgiAq4WH5_F7wQbz_GAWl-faob84LVgIjZ2Ww5mTk,451
|
|
@@ -64,7 +64,7 @@ port_ocean/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
64
64
|
port_ocean/core/defaults/__init__.py,sha256=8qCZg8n06WAdMu9s_FiRtDYLGPGHbOuS60vapeUoAks,142
|
|
65
65
|
port_ocean/core/defaults/clean.py,sha256=S3UAfca-oU89WJKIB4OgGjGjPr0vxBQ2aRZsLTZhQ04,2185
|
|
66
66
|
port_ocean/core/defaults/common.py,sha256=uVUg6VEn4RqtXQwLwMNGfkmT5zYRN_h5USfKw3poVyo,3561
|
|
67
|
-
port_ocean/core/defaults/initialize.py,sha256=
|
|
67
|
+
port_ocean/core/defaults/initialize.py,sha256=5po9QtZNIXwxH8c0QoTKp8ag4aHt4rmOsO5CKH7fft0,8713
|
|
68
68
|
port_ocean/core/event_listener/__init__.py,sha256=mzJ33wRq0kh60fpVdOHVmvMTUQIvz3vxmifyBgwDn0E,889
|
|
69
69
|
port_ocean/core/event_listener/base.py,sha256=1Nmpg00OfT2AD2L8eFm4VQEcdG2TClpSWJMhWhAjkEE,2356
|
|
70
70
|
port_ocean/core/event_listener/factory.py,sha256=AYYfSHPAF7P5H-uQECXT0JVJjKDHrYkWJJBSL4mGkg8,3697
|
|
@@ -99,7 +99,7 @@ port_ocean/core/integrations/mixins/sync_raw.py,sha256=2vyHhGWyPchVfSUKRRfSJ2XsX
|
|
|
99
99
|
port_ocean/core/integrations/mixins/utils.py,sha256=7y1rGETZIjOQadyIjFJXIHKkQFKx_SwiP-TrAIsyyLY,2303
|
|
100
100
|
port_ocean/core/models.py,sha256=8yYyF4DQ4jMmQJPsmh5-XoF9gfHUTuBit6zuT-bxZ7Y,1228
|
|
101
101
|
port_ocean/core/ocean_types.py,sha256=3_d8-n626f1kWLQ_Jxw194LEyrOVupz05qs_Y1pvB-A,990
|
|
102
|
-
port_ocean/core/utils.py,sha256=
|
|
102
|
+
port_ocean/core/utils.py,sha256=40UjRauRJO47WDSNn9bkCRD2bfhfB3e-dnOLULnuVzE,3631
|
|
103
103
|
port_ocean/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
104
|
port_ocean/exceptions/api.py,sha256=TLmTMqn4uHGaHgZK8PMIJ0TVJlPB4iP7xl9rx7GtCyY,426
|
|
105
105
|
port_ocean/exceptions/base.py,sha256=uY4DX7fIITDFfemCJDWpaZi3bD51lcANc5swpoNvMJA,46
|
|
@@ -133,8 +133,8 @@ port_ocean/utils/repeat.py,sha256=0EFWM9d8lLXAhZmAyczY20LAnijw6UbIECf5lpGbOas,32
|
|
|
133
133
|
port_ocean/utils/signal.py,sha256=K-6kKFQTltcmKDhtyZAcn0IMa3sUpOHGOAUdWKgx0_E,1369
|
|
134
134
|
port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
|
|
135
135
|
port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
|
|
136
|
-
port_ocean-0.10.
|
|
137
|
-
port_ocean-0.10.
|
|
138
|
-
port_ocean-0.10.
|
|
139
|
-
port_ocean-0.10.
|
|
140
|
-
port_ocean-0.10.
|
|
136
|
+
port_ocean-0.10.6.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
137
|
+
port_ocean-0.10.6.dist-info/METADATA,sha256=bU-QFO_CsBFDwaEVaDqlBctyNMbrlIM7DGbjyhh-JVU,6616
|
|
138
|
+
port_ocean-0.10.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
139
|
+
port_ocean-0.10.6.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
|
|
140
|
+
port_ocean-0.10.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|