diff --git a/connect/eaas/runner/constants.py b/connect/eaas/runner/constants.py index 1edd638..c7ac52f 100644 --- a/connect/eaas/runner/constants.py +++ b/connect/eaas/runner/constants.py @@ -17,9 +17,11 @@ EventType.ASSET_CANCEL_REQUEST_PROCESSING: 'process_asset_cancel_request', EventType.ASSET_ADJUSTMENT_REQUEST_PROCESSING: 'process_asset_adjustment_request', EventType.ASSET_RENEW_REQUEST_PROCESSING: 'process_asset_renew_request', + EventType.ASSET_TRANSFER_REQUEST_PROCESSING: 'process_asset_transfer_request', EventType.ASSET_PURCHASE_REQUEST_VALIDATION: 'validate_asset_purchase_request', EventType.ASSET_CHANGE_REQUEST_VALIDATION: 'validate_asset_change_request', EventType.ASSET_RENEW_REQUEST_VALIDATION: 'validate_asset_renew_request', + EventType.ASSET_TRANSFER_REQUEST_VALIDATION: 'validate_asset_transfer_request', EventType.PRODUCT_ACTION_EXECUTION: 'execute_product_action', EventType.PRODUCT_CUSTOM_EVENT_PROCESSING: 'process_product_custom_event', EventType.TIER_CONFIG_SETUP_REQUEST_PROCESSING: 'process_tier_config_setup_request', @@ -42,9 +44,11 @@ EventType.ASSET_CANCEL_REQUEST_PROCESSING, EventType.ASSET_ADJUSTMENT_REQUEST_PROCESSING, EventType.ASSET_RENEW_REQUEST_PROCESSING, + EventType.ASSET_TRANSFER_REQUEST_PROCESSING, EventType.ASSET_PURCHASE_REQUEST_VALIDATION, EventType.ASSET_CHANGE_REQUEST_VALIDATION, EventType.ASSET_RENEW_REQUEST_VALIDATION, + EventType.ASSET_TRANSFER_REQUEST_VALIDATION, ) TIER_CONFIG_REQUEST_EVENT_TYPES = ( @@ -68,6 +72,7 @@ EventType.ASSET_CANCEL_REQUEST_PROCESSING, EventType.ASSET_ADJUSTMENT_REQUEST_PROCESSING, EventType.ASSET_RENEW_REQUEST_PROCESSING, + EventType.ASSET_TRANSFER_REQUEST_PROCESSING, EventType.TIER_CONFIG_SETUP_REQUEST_PROCESSING, EventType.TIER_CONFIG_CHANGE_REQUEST_PROCESSING, EventType.TIER_CONFIG_ADJUSTMENT_REQUEST_PROCESSING, @@ -83,6 +88,7 @@ EventType.ASSET_PURCHASE_REQUEST_VALIDATION, EventType.ASSET_CHANGE_REQUEST_VALIDATION, EventType.ASSET_RENEW_REQUEST_VALIDATION, + EventType.ASSET_TRANSFER_REQUEST_VALIDATION, EventType.TIER_CONFIG_SETUP_REQUEST_VALIDATION, EventType.TIER_CONFIG_CHANGE_REQUEST_VALIDATION, EventType.PRODUCT_ACTION_EXECUTION, @@ -93,6 +99,7 @@ EventType.ASSET_PURCHASE_REQUEST_VALIDATION, EventType.ASSET_CHANGE_REQUEST_VALIDATION, EventType.ASSET_RENEW_REQUEST_VALIDATION, + EventType.ASSET_TRANSFER_REQUEST_VALIDATION, EventType.TIER_CONFIG_SETUP_REQUEST_VALIDATION, EventType.TIER_CONFIG_CHANGE_REQUEST_VALIDATION, ) diff --git a/poetry.lock b/poetry.lock index 7f02dc3..0d1f74a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -98,20 +98,20 @@ files = [ [[package]] name = "attrs" -version = "25.1.0" +version = "25.3.0" description = "Classes Without Boilerplate" optional = false python-versions = ">=3.8" files = [ - {file = "attrs-25.1.0-py3-none-any.whl", hash = "sha256:c75a69e28a550a7e93789579c22aa26b0f5b83b75dc4e08fe092980051e1090a"}, - {file = "attrs-25.1.0.tar.gz", hash = "sha256:1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e"}, + {file = "attrs-25.3.0-py3-none-any.whl", hash = "sha256:427318ce031701fea540783410126f03899a97ffc6f61596ad581ac2e40e3bc3"}, + {file = "attrs-25.3.0.tar.gz", hash = "sha256:75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b"}, ] [package.extras] benchmark = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-codspeed", "pytest-mypy-plugins", "pytest-xdist[psutil]"] cov = ["cloudpickle", "coverage[toml] (>=5.3)", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] dev = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pre-commit-uv", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] -docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier (<24.7)"] +docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier"] tests = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] tests-mypy = ["mypy (>=1.11.1)", "pytest-mypy-plugins"] @@ -128,13 +128,13 @@ files = [ [[package]] name = "certifi" -version = "2024.12.14" +version = "2025.1.31" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2024.12.14-py3-none-any.whl", hash = "sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56"}, - {file = "certifi-2024.12.14.tar.gz", hash = "sha256:b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db"}, + {file = "certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe"}, + {file = "certifi-2025.1.31.tar.gz", hash = "sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651"}, ] [[package]] @@ -278,13 +278,13 @@ test = ["flake8 (==3.7.8)", "hypothesis (==3.55.3)"] [[package]] name = "connect-eaas-core" -version = "35.1" +version = "36.0" description = "Connect Eaas Core" optional = false python-versions = "<4,>=3.9" files = [ - {file = "connect_eaas_core-35.1-py3-none-any.whl", hash = "sha256:22afd4624c0646605e5eb188ec5f158e065881ee0adcc83da6b48684a1b22295"}, - {file = "connect_eaas_core-35.1.tar.gz", hash = "sha256:9d1622cc6825dd9c4a3fdfa2c9710d51d642398dbaa8a46e8c4d6c2443daaf1b"}, + {file = "connect_eaas_core-36.0-py3-none-any.whl", hash = "sha256:94a300c51680f175fe96366258de457abb16f524cbca75191306276794d6450b"}, + {file = "connect_eaas_core-36.0.tar.gz", hash = "sha256:14533501e9384e54fa68b1d35bb41381958cfea7825fe718ba7df8aac940ff34"}, ] [package.dependencies] @@ -499,13 +499,13 @@ session = ["sqlalchemy (>=1.4,<3.0)"] [[package]] name = "flake8" -version = "7.1.1" +version = "7.1.2" description = "the modular source code checker: pep8 pyflakes and co" optional = false python-versions = ">=3.8.1" files = [ - {file = "flake8-7.1.1-py2.py3-none-any.whl", hash = "sha256:597477df7860daa5aa0fdd84bf5208a043ab96b8e96ab708770ae0364dd03213"}, - {file = "flake8-7.1.1.tar.gz", hash = "sha256:049d058491e228e03e67b390f311bbf88fce2dbaa8fa673e7aea87b7198b8d38"}, + {file = "flake8-7.1.2-py2.py3-none-any.whl", hash = "sha256:1cbc62e65536f65e6d754dfe6f1bada7f5cf392d6f5db3c2b85892466c3e7c1a"}, + {file = "flake8-7.1.2.tar.gz", hash = "sha256:c586ffd0b41540951ae41af572e6790dbd49fc12b3aa2541685d253d9bd504bd"}, ] [package.dependencies] @@ -783,13 +783,13 @@ files = [ [[package]] name = "isort" -version = "6.0.0" +version = "6.0.1" description = "A Python utility / library to sort Python imports." optional = false python-versions = ">=3.9.0" files = [ - {file = "isort-6.0.0-py3-none-any.whl", hash = "sha256:567954102bb47bb12e0fae62606570faacddd441e45683968c8d1734fb1af892"}, - {file = "isort-6.0.0.tar.gz", hash = "sha256:75d9d8a1438a9432a7d7b54f2d3b45cad9a4a0fdba43617d9873379704a8bdf1"}, + {file = "isort-6.0.1-py3-none-any.whl", hash = "sha256:2dc5d7f65c9678d94c88dfc29161a320eec67328bc97aad576874cb4be1e9615"}, + {file = "isort-6.0.1.tar.gz", hash = "sha256:1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450"}, ] [package.extras] @@ -1021,22 +1021,20 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "protobuf" -version = "5.29.3" +version = "6.30.0" description = "" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "protobuf-5.29.3-cp310-abi3-win32.whl", hash = "sha256:3ea51771449e1035f26069c4c7fd51fba990d07bc55ba80701c78f886bf9c888"}, - {file = "protobuf-5.29.3-cp310-abi3-win_amd64.whl", hash = "sha256:a4fa6f80816a9a0678429e84973f2f98cbc218cca434abe8db2ad0bffc98503a"}, - {file = "protobuf-5.29.3-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:a8434404bbf139aa9e1300dbf989667a83d42ddda9153d8ab76e0d5dcaca484e"}, - {file = "protobuf-5.29.3-cp38-abi3-manylinux2014_aarch64.whl", hash = "sha256:daaf63f70f25e8689c072cfad4334ca0ac1d1e05a92fc15c54eb9cf23c3efd84"}, - {file = "protobuf-5.29.3-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:c027e08a08be10b67c06bf2370b99c811c466398c357e615ca88c91c07f0910f"}, - {file = "protobuf-5.29.3-cp38-cp38-win32.whl", hash = "sha256:84a57163a0ccef3f96e4b6a20516cedcf5bb3a95a657131c5c3ac62200d23252"}, - {file = "protobuf-5.29.3-cp38-cp38-win_amd64.whl", hash = "sha256:b89c115d877892a512f79a8114564fb435943b59067615894c3b13cd3e1fa107"}, - {file = "protobuf-5.29.3-cp39-cp39-win32.whl", hash = "sha256:0eb32bfa5219fc8d4111803e9a690658aa2e6366384fd0851064b963b6d1f2a7"}, - {file = "protobuf-5.29.3-cp39-cp39-win_amd64.whl", hash = "sha256:6ce8cc3389a20693bfde6c6562e03474c40851b44975c9b2bf6df7d8c4f864da"}, - {file = "protobuf-5.29.3-py3-none-any.whl", hash = "sha256:0a18ed4a24198528f2333802eb075e59dea9d679ab7a6c5efb017a59004d849f"}, - {file = "protobuf-5.29.3.tar.gz", hash = "sha256:5da0f41edaf117bde316404bad1a486cb4ededf8e4a54891296f648e8e076620"}, + {file = "protobuf-6.30.0-cp310-abi3-win32.whl", hash = "sha256:7337d76d8efe65ee09ee566b47b5914c517190196f414e5418fa236dfd1aed3e"}, + {file = "protobuf-6.30.0-cp310-abi3-win_amd64.whl", hash = "sha256:9b33d51cc95a7ec4f407004c8b744330b6911a37a782e2629c67e1e8ac41318f"}, + {file = "protobuf-6.30.0-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:52d4bb6fe76005860e1d0b8bfa126f5c97c19cc82704961f60718f50be16942d"}, + {file = "protobuf-6.30.0-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:7940ab4dfd60d514b2e1d3161549ea7aed5be37d53bafde16001ac470a3e202b"}, + {file = "protobuf-6.30.0-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:d79bf6a202a536b192b7e8d295d7eece0c86fbd9b583d147faf8cfeff46bf598"}, + {file = "protobuf-6.30.0-cp39-cp39-win32.whl", hash = "sha256:bb35ad251d222f03d6c4652c072dfee156be0ef9578373929c1a7ead2bd5492c"}, + {file = "protobuf-6.30.0-cp39-cp39-win_amd64.whl", hash = "sha256:501810e0eba1d327e783fde47cc767a563b0f1c292f1a3546d4f2b8c3612d4d0"}, + {file = "protobuf-6.30.0-py3-none-any.whl", hash = "sha256:e5ef216ea061b262b8994cb6b7d6637a4fb27b3fb4d8e216a6040c0b93bd10d7"}, + {file = "protobuf-6.30.0.tar.gz", hash = "sha256:852b675d276a7d028f660da075af1841c768618f76b90af771a8e2c29e6f5965"}, ] [[package]] @@ -1182,13 +1180,13 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" -version = "8.3.4" +version = "8.3.5" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6"}, - {file = "pytest-8.3.4.tar.gz", hash = "sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761"}, + {file = "pytest-8.3.5-py3-none-any.whl", hash = "sha256:c69214aa47deac29fad6c2a4f590b9c4a9fdb16a403176fe154b79c0b4d4d820"}, + {file = "pytest-8.3.5.tar.gz", hash = "sha256:f4efe70cc14e511565ac476b57c279e12a855b11f48f212af1080ef2263d3845"}, ] [package.dependencies] @@ -1304,13 +1302,13 @@ six = ">=1.5" [[package]] name = "python-socks" -version = "2.7.0" +version = "2.7.1" description = "Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python" optional = false python-versions = ">=3.8.0" files = [ - {file = "python_socks-2.7.0-py3-none-any.whl", hash = "sha256:eea4d29dfc83b0a5eff65f560ecb9b7a139e1ab7268becc919faf81536f50cb6"}, - {file = "python_socks-2.7.0.tar.gz", hash = "sha256:e0e86854805cb8c35b06bfdc027790a48b73f918288568731026b799eb45cfe8"}, + {file = "python_socks-2.7.1-py3-none-any.whl", hash = "sha256:2603c6454eeaeb82b464ad705be188989e8cf1a4a16f0af3c921d6dd71a49cec"}, + {file = "python_socks-2.7.1.tar.gz", hash = "sha256:f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550"}, ] [package.dependencies] @@ -1445,13 +1443,13 @@ jupyter = ["ipywidgets (>=7.5.1,<8.0.0)"] [[package]] name = "setuptools" -version = "75.8.0" +version = "76.0.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.9" files = [ - {file = "setuptools-75.8.0-py3-none-any.whl", hash = "sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3"}, - {file = "setuptools-75.8.0.tar.gz", hash = "sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6"}, + {file = "setuptools-76.0.0-py3-none-any.whl", hash = "sha256:199466a166ff664970d0ee145839f5582cb9bca7a0a3a2e795b6a9cb2308e9c6"}, + {file = "setuptools-76.0.0.tar.gz", hash = "sha256:43b4ee60e10b0d0ee98ad11918e114c70701bc6051662a9a675a0496c1a158f4"}, ] [package.extras] @@ -1557,18 +1555,18 @@ files = [ [[package]] name = "typeguard" -version = "4.4.1" +version = "4.4.2" description = "Run-time type checker for Python" optional = false python-versions = ">=3.9" files = [ - {file = "typeguard-4.4.1-py3-none-any.whl", hash = "sha256:9324ec07a27ec67fc54a9c063020ca4c0ae6abad5e9f0f9804ca59aee68c6e21"}, - {file = "typeguard-4.4.1.tar.gz", hash = "sha256:0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b"}, + {file = "typeguard-4.4.2-py3-none-any.whl", hash = "sha256:77a78f11f09777aeae7fa08585f33b5f4ef0e7335af40005b0c422ed398ff48c"}, + {file = "typeguard-4.4.2.tar.gz", hash = "sha256:a6f1065813e32ef365bc3b3f503af8a96f9dd4e0033a02c28c4a4983de8c6c49"}, ] [package.dependencies] -importlib-metadata = {version = ">=3.6", markers = "python_version < \"3.10\""} -typing-extensions = ">=4.10.0" +importlib_metadata = {version = ">=3.6", markers = "python_version < \"3.10\""} +typing_extensions = ">=4.10.0" [package.extras] doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme (>=1.3.0)"] @@ -1880,4 +1878,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<4" -content-hash = "962be6acaa19424729b78537874ec6434754cc8e7f18b6da590e9373a2719f3f" +content-hash = "fc0f20ce541fd147530747431b2b486e1a2b499e5dc78232f969f72118306327" diff --git a/pyproject.toml b/pyproject.toml index 237eaa2..4786afe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ websockets = "13.*" connect-openapi-client = ">=29.0,<36" logzio-python-handler = "^4.1.4" backoff = "^2.2.1" -connect-eaas-core = ">=33.0,<36" +connect-eaas-core = ">=33.0,<37" httpx = ">=0.23,<1" rich = ">=12" pyfiglet = "^1.0.2"