iris-pex-embedded-python 2.3.28b3__tar.gz → 3.0.0b1__tar.gz
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 iris-pex-embedded-python might be problematic. Click here for more details.
- {iris_pex_embedded_python-2.3.28b3/src/iris_pex_embedded_python.egg-info → iris_pex_embedded_python-3.0.0b1}/PKG-INFO +28 -28
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/README.md +27 -27
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/pyproject.toml +1 -1
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/BusinessOperation.cls +8 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/BusinessProcess.cls +13 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/BusinessService.cls +8 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Common.cls +10 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Director.cls +10 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Duplex/Operation.cls +4 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Duplex/Process.cls +13 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Duplex/Service.cls +4 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/InboundAdapter.cls +8 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Message.cls +13 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/OutboundAdapter.cls +8 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PickleMessage.cls +13 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls +8 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls +14 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls +14 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls +14 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls +14 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Test.cls +10 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/Utils.cls +10 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/Service/WSGI.cls +4 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/pex/__init__.py +24 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/grongier/pex/__main__.py +1 -1
- iris_pex_embedded_python-3.0.0b1/src/grongier/pex/_business_host.py +1 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/pex/_cli.py +1 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/pex/_common.py +1 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/pex/_director.py +1 -0
- iris_pex_embedded_python-3.0.0b1/src/grongier/pex/_utils.py +1 -0
- iris_pex_embedded_python-3.0.0b1/src/iop/__init__.py +24 -0
- iris_pex_embedded_python-3.0.0b1/src/iop/__main__.py +4 -0
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_business_host.py +10 -10
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_business_operation.py +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_business_process.py +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_business_service.py +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_cli.py +10 -10
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_common.py +6 -4
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_director.py +2 -2
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_inbound_adapter.py +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_outbound_adapter.py +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_private_session_duplex.py +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_private_session_process.py +2 -2
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_utils.py +6 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/BusinessOperation.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/BusinessProcess.cls +2 -2
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/BusinessService.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Common.cls +3 -3
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Director.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Duplex/Operation.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Duplex/Process.cls +12 -12
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Duplex/Service.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/InboundAdapter.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Message.cls +2 -2
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/OutboundAdapter.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/PickleMessage.cls +2 -2
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/PrivateSession/Duplex.cls +11 -11
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/PrivateSession/Message/Ack.cls +5 -5
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/PrivateSession/Message/Poll.cls +5 -5
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/PrivateSession/Message/Start.cls +5 -5
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/PrivateSession/Message/Stop.cls +5 -5
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Service/WSGI.cls +1 -1
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Test.cls +7 -7
- {iris_pex_embedded_python-2.3.28b3/src/grongier/cls/Grongier/PEX → iris_pex_embedded_python-3.0.0b1/src/iop/cls/IOP}/Utils.cls +9 -9
- iris_pex_embedded_python-3.0.0b1/src/iop/wsgi/handlers.py +104 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1/src/iris_pex_embedded_python.egg-info}/PKG-INFO +28 -28
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris_pex_embedded_python.egg-info/SOURCES.txt +37 -9
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris_pex_embedded_python.egg-info/top_level.txt +1 -0
- iris_pex_embedded_python-2.3.28b3/src/grongier/pex/__init__.py +0 -24
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/LICENSE +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/setup.cfg +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/setup.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/grongier/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/grongier/pex/wsgi/handlers.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_BufferReader.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_BufferWriter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_ConnectionInformation.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_ConnectionParameters.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_Constant.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_DBList.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_Device.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_GatewayContext.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_GatewayException.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_GatewayUtility.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRIS.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISConnection.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISEmbedded.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISGlobalNode.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISGlobalNodeView.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISIterator.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISList.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISNative.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISOREF.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISObject.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_IRISReference.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_InStream.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_LegacyIterator.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_ListItem.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_ListReader.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_ListWriter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_LogFileStream.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_MessageHeader.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_OutStream.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_PrintStream.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_PythonGateway.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/_SharedMemorySocket.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/__main__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_Column.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_DBAPI.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_Descriptor.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_IRISStream.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_Message.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_Parameter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_ParameterCollection.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_ResultSetRow.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/_SQLType.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/preparser/_PreParser.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/preparser/_Scanner.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/preparser/_Token.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/preparser/_TokenList.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/dbapi/preparser/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_BusinessHost.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_BusinessOperation.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_BusinessProcess.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_BusinessService.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_Common.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_Director.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_IRISBusinessOperation.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_IRISBusinessService.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_IRISInboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_IRISOutboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_InboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_Message.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/_OutboundAdapter.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/intersystems_iris/pex/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_message.py +0 -0
- {iris_pex_embedded_python-2.3.28b3/src/grongier/pex → iris_pex_embedded_python-3.0.0b1/src/iop}/_pickle_message.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris/__init__.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris/__init__.pyi +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris/iris_ipm.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris/iris_ipm.pyi +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris_pex_embedded_python.egg-info/dependency_links.txt +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris_pex_embedded_python.egg-info/entry_points.txt +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/iris_pex_embedded_python.egg-info/requires.txt +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/irisnative/_IRISNative.py +0 -0
- {iris_pex_embedded_python-2.3.28b3 → iris_pex_embedded_python-3.0.0b1}/src/irisnative/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: iris_pex_embedded_python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0b1
|
|
4
4
|
Summary: Iris Interoperability based on Embedded Python
|
|
5
5
|
Author-email: grongier <guillaume.rongier@intersystems.com>
|
|
6
6
|
License: MIT License
|
|
@@ -99,7 +99,7 @@ This proof of concept aims to show how the **iris interoperability framework** c
|
|
|
99
99
|
- [6.12.4.1. setting.py file](#61241-settingpy-file)
|
|
100
100
|
- [6.12.4.1.1. CLASSES section](#612411-classes-section)
|
|
101
101
|
- [6.12.4.1.2. Productions section](#612412-productions-section)
|
|
102
|
-
- [6.13. Direct use of
|
|
102
|
+
- [6.13. Direct use of IOP](#613-direct-use-of-iop)
|
|
103
103
|
- [7. Command line](#7-command-line)
|
|
104
104
|
- [7.1. help](#71-help)
|
|
105
105
|
- [7.2. default](#72-default)
|
|
@@ -119,7 +119,7 @@ This proof of concept aims to show how the **iris interoperability framework** c
|
|
|
119
119
|
|
|
120
120
|
bo.py
|
|
121
121
|
```python
|
|
122
|
-
from
|
|
122
|
+
from iop import BusinessOperation,Message
|
|
123
123
|
|
|
124
124
|
class MyBusinessOperation(BusinessOperation):
|
|
125
125
|
|
|
@@ -167,7 +167,7 @@ This file will be used to register your classes and productions.<br>
|
|
|
167
167
|
e.g.:
|
|
168
168
|
setting.py
|
|
169
169
|
```python
|
|
170
|
-
from
|
|
170
|
+
from iop import Utils
|
|
171
171
|
|
|
172
172
|
import bo
|
|
173
173
|
|
|
@@ -210,7 +210,7 @@ pip3 install iris-pex-embedded-python
|
|
|
210
210
|
Import the ObjectScript classes, open an embedded python shell and run :
|
|
211
211
|
|
|
212
212
|
```python
|
|
213
|
-
from
|
|
213
|
+
from iop import Utils
|
|
214
214
|
Utils.setup()
|
|
215
215
|
```
|
|
216
216
|
|
|
@@ -355,7 +355,7 @@ This file will allow us to create the classes to import in the code.<br>
|
|
|
355
355
|
It gets from the multiple files seen earlier the classes and make them into callable classes.
|
|
356
356
|
That way, when you wish to create a business operation, for example, you can just do:
|
|
357
357
|
```python
|
|
358
|
-
from
|
|
358
|
+
from iop import BusinessOperation
|
|
359
359
|
```
|
|
360
360
|
|
|
361
361
|
## 6.2. The `common` class
|
|
@@ -414,7 +414,7 @@ TypeError: if request is not of type Message or IRISObject.
|
|
|
414
414
|
|
|
415
415
|
|
|
416
416
|
## 6.4. The `inbound_adapter` class
|
|
417
|
-
Inbound Adapter in Python are subclass from
|
|
417
|
+
Inbound Adapter in Python are subclass from iop.InboundAdapter in Python, that inherit from all the functions of the [common class](#72-the-common-class).<br>
|
|
418
418
|
This class is responsible for receiving the data from the external system, validating the data, and sending it to the business service by calling the BusinessHost process_input method.
|
|
419
419
|
This class defines:
|
|
420
420
|
|
|
@@ -423,7 +423,7 @@ The message can have any structure agreed upon by the inbound adapter and the bu
|
|
|
423
423
|
|
|
424
424
|
Example of an inbound adapter ( situated in the src/python/demo/reddit/adapter.py file ):
|
|
425
425
|
```python
|
|
426
|
-
from
|
|
426
|
+
from iop import InboundAdapter
|
|
427
427
|
import requests
|
|
428
428
|
import iris
|
|
429
429
|
import json
|
|
@@ -485,7 +485,7 @@ class RedditInboundAdapter(InboundAdapter):
|
|
|
485
485
|
```
|
|
486
486
|
|
|
487
487
|
## 6.5. The `outbound_adapter` class
|
|
488
|
-
Outbound Adapter in Python are subclass from
|
|
488
|
+
Outbound Adapter in Python are subclass from iop.OutboundAdapter in Python, that inherit from all the functions of the [common class](#72-the-common-class).<br>
|
|
489
489
|
This class is responsible for sending the data to the external system.
|
|
490
490
|
|
|
491
491
|
The Outbound Adapter gives the Operation the possibility to have a heartbeat notion.
|
|
@@ -518,7 +518,7 @@ There are three ways of implementing a business service:<br>
|
|
|
518
518
|
- Nonpolling business service - The production framework does not initiate the business service. Instead custom code in either a long-running process
|
|
519
519
|
or one that is started at regular intervals initiates the business service by calling the Director.CreateBusinessService() method.
|
|
520
520
|
|
|
521
|
-
Business service in Python are subclass from
|
|
521
|
+
Business service in Python are subclass from iop.BusinessService in Python, that inherit from all the functions of the [business host](#73-the-business_host-class).<br>
|
|
522
522
|
This class defines:
|
|
523
523
|
|
|
524
524
|
`on_process_input`: Receives the message from the inbond adapter via the PRocessInput method and is responsible for forwarding it to target business processes or operations.<br>
|
|
@@ -531,7 +531,7 @@ The message can have any structure agreed upon by the inbound adapter and the bu
|
|
|
531
531
|
|
|
532
532
|
Example of a business service ( situated in the src/python/demo/reddit/bs.py file ):
|
|
533
533
|
```python
|
|
534
|
-
from
|
|
534
|
+
from iop import BusinessService
|
|
535
535
|
|
|
536
536
|
import iris
|
|
537
537
|
|
|
@@ -568,7 +568,7 @@ Typically contains most of the logic in a production.<br>
|
|
|
568
568
|
A business process can receive messages from a business service, another business process, or a business operation.<br>
|
|
569
569
|
It can modify the message, convert it to a different format, or route it based on the message contents.<br>
|
|
570
570
|
The business process can route a message to a business operation or another business process.<br>
|
|
571
|
-
Business processes in Python are subclass from
|
|
571
|
+
Business processes in Python are subclass from iop.BusinessProcess in Python, that inherit from all the functions of the [business host](#73-the-business_host-class).<br>
|
|
572
572
|
This class defines:
|
|
573
573
|
|
|
574
574
|
`on_request`: Handles requests sent to the business process. A production calls this method whenever an initial request for a specific business process arrives on the appropriate queue and is assigned a job in which to execute.<br>
|
|
@@ -609,7 +609,7 @@ An instance of IRISObject or subclass of Message that contains the response mess
|
|
|
609
609
|
|
|
610
610
|
Example of a business process ( situated in the src/python/demo/reddit/bp.py file ):
|
|
611
611
|
```python
|
|
612
|
-
from
|
|
612
|
+
from iop import BusinessProcess
|
|
613
613
|
|
|
614
614
|
from message import PostMessage
|
|
615
615
|
from obj import PostClass
|
|
@@ -648,7 +648,7 @@ This class is responsible for sending the data to an external system or a local
|
|
|
648
648
|
The business operation can optionally use an adapter to handle the outgoing message which is specified overriding the get_adapter_type method.<br>
|
|
649
649
|
If the business operation has an adapter, it uses the adapter to send the message to the external system.<br>
|
|
650
650
|
The adapter can either be a PEX adapter, an ObjectScript adapter or a [python adapter](#75-the-outbound_adapter-class).<br>
|
|
651
|
-
Business operation in Python are subclass from
|
|
651
|
+
Business operation in Python are subclass from iop.BusinessOperation in Python, that inherit from all the functions of the [business host](#73-the-business_host-class).<br>
|
|
652
652
|
|
|
653
653
|
### 6.8.1. The dispacth system
|
|
654
654
|
In a business operation it is possbile to create any number of function [similar to the on_message method](#782-the-methods) that will take as argument a [typed request](#711-the-messages) like this `my_special_message_method(self,request: MySpecialMessage)`.
|
|
@@ -670,7 +670,7 @@ The response object
|
|
|
670
670
|
|
|
671
671
|
Example of a business operation ( situated in the src/python/demo/reddit/bo.py file ):
|
|
672
672
|
```python
|
|
673
|
-
from
|
|
673
|
+
from iop import BusinessOperation
|
|
674
674
|
|
|
675
675
|
from message import MyRequest,MyMessage
|
|
676
676
|
|
|
@@ -769,13 +769,13 @@ class PostClass:
|
|
|
769
769
|
|
|
770
770
|
## 6.11. The `messages`
|
|
771
771
|
The messages will contain one or more [objects](#710-the-objects), located in the `obj.py` file.<br>
|
|
772
|
-
Messages, requests and responses all inherit from the `
|
|
772
|
+
Messages, requests and responses all inherit from the `iop.Message` class.
|
|
773
773
|
|
|
774
774
|
These messages will allow us to transfer information between any business service/process/operation.
|
|
775
775
|
|
|
776
776
|
Example of a message ( situated in the src/python/demo/reddit/message.py file ):
|
|
777
777
|
```python
|
|
778
|
-
from
|
|
778
|
+
from iop import Message
|
|
779
779
|
|
|
780
780
|
from dataclasses import dataclass
|
|
781
781
|
|
|
@@ -808,13 +808,13 @@ Start an embedded python shell :
|
|
|
808
808
|
Then use this class method to add a new py file to the component list for interoperability.
|
|
809
809
|
|
|
810
810
|
```python
|
|
811
|
-
from
|
|
811
|
+
from iop import Utils
|
|
812
812
|
Utils.register_component(<ModuleName>,<ClassName>,<PathToPyFile>,<OverWrite>,<NameOfTheComponent>)
|
|
813
813
|
```
|
|
814
814
|
|
|
815
815
|
e.g :
|
|
816
816
|
```python
|
|
817
|
-
from
|
|
817
|
+
from iop import Utils
|
|
818
818
|
Utils.register_component("MyCombinedBusinessOperation","MyCombinedBusinessOperation","/irisdev/app/src/python/demo/",1,"PEX.MyCombinedBusinessOperation")
|
|
819
819
|
```
|
|
820
820
|
|
|
@@ -829,13 +829,13 @@ Start an embedded python shell :
|
|
|
829
829
|
Then use this class method to add a new py file to the component list for interoperability.
|
|
830
830
|
|
|
831
831
|
```python
|
|
832
|
-
from
|
|
832
|
+
from iop import Utils
|
|
833
833
|
Utils.register_file(<File>,<OverWrite>,<PackageName>)
|
|
834
834
|
```
|
|
835
835
|
|
|
836
836
|
e.g :
|
|
837
837
|
```python
|
|
838
|
-
from
|
|
838
|
+
from iop import Utils
|
|
839
839
|
Utils.register_file("/irisdev/app/src/python/demo/bo.py",1,"PEX")
|
|
840
840
|
```
|
|
841
841
|
|
|
@@ -850,13 +850,13 @@ Start an embedded python shell :
|
|
|
850
850
|
Then use this class method to add a new py file to the component list for interoperability.
|
|
851
851
|
|
|
852
852
|
```python
|
|
853
|
-
from
|
|
853
|
+
from iop import Utils
|
|
854
854
|
Utils.register_folder(<Path>,<OverWrite>,<PackageName>)
|
|
855
855
|
```
|
|
856
856
|
|
|
857
857
|
e.g :
|
|
858
858
|
```python
|
|
859
|
-
from
|
|
859
|
+
from iop import Utils
|
|
860
860
|
Utils.register_folder("/irisdev/app/src/python/demo/",1,"PEX")
|
|
861
861
|
```
|
|
862
862
|
|
|
@@ -871,7 +871,7 @@ Start an embedded python shell :
|
|
|
871
871
|
Then use this static method to migrate the settings file to the iris framework.
|
|
872
872
|
|
|
873
873
|
```python
|
|
874
|
-
from
|
|
874
|
+
from iop import Utils
|
|
875
875
|
Utils.migrate()
|
|
876
876
|
```
|
|
877
877
|
|
|
@@ -1098,9 +1098,9 @@ PRODUCTIONS = [
|
|
|
1098
1098
|
]
|
|
1099
1099
|
```
|
|
1100
1100
|
|
|
1101
|
-
## 6.13. Direct use of
|
|
1101
|
+
## 6.13. Direct use of IOP
|
|
1102
1102
|
|
|
1103
|
-
If you don't want to use the register_component util. You can add a
|
|
1103
|
+
If you don't want to use the register_component util. You can add a IOP.BusinessService component directly into the management portal and configure the properties :
|
|
1104
1104
|
- %module :
|
|
1105
1105
|
- Module name of your python code
|
|
1106
1106
|
- %classname :
|
|
@@ -1123,7 +1123,7 @@ iop
|
|
|
1123
1123
|
|
|
1124
1124
|
output :
|
|
1125
1125
|
```bash
|
|
1126
|
-
usage: python3 -m
|
|
1126
|
+
usage: python3 -m iop [-h] [-d DEFAULT] [-l] [-s START] [-k] [-S] [-r] [-M MIGRATE] [-e EXPORT] [-x] [-v] [-L]
|
|
1127
1127
|
optional arguments:
|
|
1128
1128
|
-h, --help display help and default production name
|
|
1129
1129
|
-d DEFAULT, --default DEFAULT
|
|
@@ -1155,7 +1155,7 @@ iop -h
|
|
|
1155
1155
|
|
|
1156
1156
|
output :
|
|
1157
1157
|
```bash
|
|
1158
|
-
usage: python3 -m
|
|
1158
|
+
usage: python3 -m iop [-h] [-d DEFAULT] [-l] [-s START] [-k] [-S] [-r] [-M MIGRATE] [-e EXPORT] [-x] [-v] [-L]
|
|
1159
1159
|
...
|
|
1160
1160
|
default production: PEX.Production
|
|
1161
1161
|
```
|
|
@@ -51,7 +51,7 @@ This proof of concept aims to show how the **iris interoperability framework** c
|
|
|
51
51
|
- [6.12.4.1. setting.py file](#61241-settingpy-file)
|
|
52
52
|
- [6.12.4.1.1. CLASSES section](#612411-classes-section)
|
|
53
53
|
- [6.12.4.1.2. Productions section](#612412-productions-section)
|
|
54
|
-
- [6.13. Direct use of
|
|
54
|
+
- [6.13. Direct use of IOP](#613-direct-use-of-iop)
|
|
55
55
|
- [7. Command line](#7-command-line)
|
|
56
56
|
- [7.1. help](#71-help)
|
|
57
57
|
- [7.2. default](#72-default)
|
|
@@ -71,7 +71,7 @@ This proof of concept aims to show how the **iris interoperability framework** c
|
|
|
71
71
|
|
|
72
72
|
bo.py
|
|
73
73
|
```python
|
|
74
|
-
from
|
|
74
|
+
from iop import BusinessOperation,Message
|
|
75
75
|
|
|
76
76
|
class MyBusinessOperation(BusinessOperation):
|
|
77
77
|
|
|
@@ -119,7 +119,7 @@ This file will be used to register your classes and productions.<br>
|
|
|
119
119
|
e.g.:
|
|
120
120
|
setting.py
|
|
121
121
|
```python
|
|
122
|
-
from
|
|
122
|
+
from iop import Utils
|
|
123
123
|
|
|
124
124
|
import bo
|
|
125
125
|
|
|
@@ -162,7 +162,7 @@ pip3 install iris-pex-embedded-python
|
|
|
162
162
|
Import the ObjectScript classes, open an embedded python shell and run :
|
|
163
163
|
|
|
164
164
|
```python
|
|
165
|
-
from
|
|
165
|
+
from iop import Utils
|
|
166
166
|
Utils.setup()
|
|
167
167
|
```
|
|
168
168
|
|
|
@@ -307,7 +307,7 @@ This file will allow us to create the classes to import in the code.<br>
|
|
|
307
307
|
It gets from the multiple files seen earlier the classes and make them into callable classes.
|
|
308
308
|
That way, when you wish to create a business operation, for example, you can just do:
|
|
309
309
|
```python
|
|
310
|
-
from
|
|
310
|
+
from iop import BusinessOperation
|
|
311
311
|
```
|
|
312
312
|
|
|
313
313
|
## 6.2. The `common` class
|
|
@@ -366,7 +366,7 @@ TypeError: if request is not of type Message or IRISObject.
|
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
## 6.4. The `inbound_adapter` class
|
|
369
|
-
Inbound Adapter in Python are subclass from
|
|
369
|
+
Inbound Adapter in Python are subclass from iop.InboundAdapter in Python, that inherit from all the functions of the [common class](#72-the-common-class).<br>
|
|
370
370
|
This class is responsible for receiving the data from the external system, validating the data, and sending it to the business service by calling the BusinessHost process_input method.
|
|
371
371
|
This class defines:
|
|
372
372
|
|
|
@@ -375,7 +375,7 @@ The message can have any structure agreed upon by the inbound adapter and the bu
|
|
|
375
375
|
|
|
376
376
|
Example of an inbound adapter ( situated in the src/python/demo/reddit/adapter.py file ):
|
|
377
377
|
```python
|
|
378
|
-
from
|
|
378
|
+
from iop import InboundAdapter
|
|
379
379
|
import requests
|
|
380
380
|
import iris
|
|
381
381
|
import json
|
|
@@ -437,7 +437,7 @@ class RedditInboundAdapter(InboundAdapter):
|
|
|
437
437
|
```
|
|
438
438
|
|
|
439
439
|
## 6.5. The `outbound_adapter` class
|
|
440
|
-
Outbound Adapter in Python are subclass from
|
|
440
|
+
Outbound Adapter in Python are subclass from iop.OutboundAdapter in Python, that inherit from all the functions of the [common class](#72-the-common-class).<br>
|
|
441
441
|
This class is responsible for sending the data to the external system.
|
|
442
442
|
|
|
443
443
|
The Outbound Adapter gives the Operation the possibility to have a heartbeat notion.
|
|
@@ -470,7 +470,7 @@ There are three ways of implementing a business service:<br>
|
|
|
470
470
|
- Nonpolling business service - The production framework does not initiate the business service. Instead custom code in either a long-running process
|
|
471
471
|
or one that is started at regular intervals initiates the business service by calling the Director.CreateBusinessService() method.
|
|
472
472
|
|
|
473
|
-
Business service in Python are subclass from
|
|
473
|
+
Business service in Python are subclass from iop.BusinessService in Python, that inherit from all the functions of the [business host](#73-the-business_host-class).<br>
|
|
474
474
|
This class defines:
|
|
475
475
|
|
|
476
476
|
`on_process_input`: Receives the message from the inbond adapter via the PRocessInput method and is responsible for forwarding it to target business processes or operations.<br>
|
|
@@ -483,7 +483,7 @@ The message can have any structure agreed upon by the inbound adapter and the bu
|
|
|
483
483
|
|
|
484
484
|
Example of a business service ( situated in the src/python/demo/reddit/bs.py file ):
|
|
485
485
|
```python
|
|
486
|
-
from
|
|
486
|
+
from iop import BusinessService
|
|
487
487
|
|
|
488
488
|
import iris
|
|
489
489
|
|
|
@@ -520,7 +520,7 @@ Typically contains most of the logic in a production.<br>
|
|
|
520
520
|
A business process can receive messages from a business service, another business process, or a business operation.<br>
|
|
521
521
|
It can modify the message, convert it to a different format, or route it based on the message contents.<br>
|
|
522
522
|
The business process can route a message to a business operation or another business process.<br>
|
|
523
|
-
Business processes in Python are subclass from
|
|
523
|
+
Business processes in Python are subclass from iop.BusinessProcess in Python, that inherit from all the functions of the [business host](#73-the-business_host-class).<br>
|
|
524
524
|
This class defines:
|
|
525
525
|
|
|
526
526
|
`on_request`: Handles requests sent to the business process. A production calls this method whenever an initial request for a specific business process arrives on the appropriate queue and is assigned a job in which to execute.<br>
|
|
@@ -561,7 +561,7 @@ An instance of IRISObject or subclass of Message that contains the response mess
|
|
|
561
561
|
|
|
562
562
|
Example of a business process ( situated in the src/python/demo/reddit/bp.py file ):
|
|
563
563
|
```python
|
|
564
|
-
from
|
|
564
|
+
from iop import BusinessProcess
|
|
565
565
|
|
|
566
566
|
from message import PostMessage
|
|
567
567
|
from obj import PostClass
|
|
@@ -600,7 +600,7 @@ This class is responsible for sending the data to an external system or a local
|
|
|
600
600
|
The business operation can optionally use an adapter to handle the outgoing message which is specified overriding the get_adapter_type method.<br>
|
|
601
601
|
If the business operation has an adapter, it uses the adapter to send the message to the external system.<br>
|
|
602
602
|
The adapter can either be a PEX adapter, an ObjectScript adapter or a [python adapter](#75-the-outbound_adapter-class).<br>
|
|
603
|
-
Business operation in Python are subclass from
|
|
603
|
+
Business operation in Python are subclass from iop.BusinessOperation in Python, that inherit from all the functions of the [business host](#73-the-business_host-class).<br>
|
|
604
604
|
|
|
605
605
|
### 6.8.1. The dispacth system
|
|
606
606
|
In a business operation it is possbile to create any number of function [similar to the on_message method](#782-the-methods) that will take as argument a [typed request](#711-the-messages) like this `my_special_message_method(self,request: MySpecialMessage)`.
|
|
@@ -622,7 +622,7 @@ The response object
|
|
|
622
622
|
|
|
623
623
|
Example of a business operation ( situated in the src/python/demo/reddit/bo.py file ):
|
|
624
624
|
```python
|
|
625
|
-
from
|
|
625
|
+
from iop import BusinessOperation
|
|
626
626
|
|
|
627
627
|
from message import MyRequest,MyMessage
|
|
628
628
|
|
|
@@ -721,13 +721,13 @@ class PostClass:
|
|
|
721
721
|
|
|
722
722
|
## 6.11. The `messages`
|
|
723
723
|
The messages will contain one or more [objects](#710-the-objects), located in the `obj.py` file.<br>
|
|
724
|
-
Messages, requests and responses all inherit from the `
|
|
724
|
+
Messages, requests and responses all inherit from the `iop.Message` class.
|
|
725
725
|
|
|
726
726
|
These messages will allow us to transfer information between any business service/process/operation.
|
|
727
727
|
|
|
728
728
|
Example of a message ( situated in the src/python/demo/reddit/message.py file ):
|
|
729
729
|
```python
|
|
730
|
-
from
|
|
730
|
+
from iop import Message
|
|
731
731
|
|
|
732
732
|
from dataclasses import dataclass
|
|
733
733
|
|
|
@@ -760,13 +760,13 @@ Start an embedded python shell :
|
|
|
760
760
|
Then use this class method to add a new py file to the component list for interoperability.
|
|
761
761
|
|
|
762
762
|
```python
|
|
763
|
-
from
|
|
763
|
+
from iop import Utils
|
|
764
764
|
Utils.register_component(<ModuleName>,<ClassName>,<PathToPyFile>,<OverWrite>,<NameOfTheComponent>)
|
|
765
765
|
```
|
|
766
766
|
|
|
767
767
|
e.g :
|
|
768
768
|
```python
|
|
769
|
-
from
|
|
769
|
+
from iop import Utils
|
|
770
770
|
Utils.register_component("MyCombinedBusinessOperation","MyCombinedBusinessOperation","/irisdev/app/src/python/demo/",1,"PEX.MyCombinedBusinessOperation")
|
|
771
771
|
```
|
|
772
772
|
|
|
@@ -781,13 +781,13 @@ Start an embedded python shell :
|
|
|
781
781
|
Then use this class method to add a new py file to the component list for interoperability.
|
|
782
782
|
|
|
783
783
|
```python
|
|
784
|
-
from
|
|
784
|
+
from iop import Utils
|
|
785
785
|
Utils.register_file(<File>,<OverWrite>,<PackageName>)
|
|
786
786
|
```
|
|
787
787
|
|
|
788
788
|
e.g :
|
|
789
789
|
```python
|
|
790
|
-
from
|
|
790
|
+
from iop import Utils
|
|
791
791
|
Utils.register_file("/irisdev/app/src/python/demo/bo.py",1,"PEX")
|
|
792
792
|
```
|
|
793
793
|
|
|
@@ -802,13 +802,13 @@ Start an embedded python shell :
|
|
|
802
802
|
Then use this class method to add a new py file to the component list for interoperability.
|
|
803
803
|
|
|
804
804
|
```python
|
|
805
|
-
from
|
|
805
|
+
from iop import Utils
|
|
806
806
|
Utils.register_folder(<Path>,<OverWrite>,<PackageName>)
|
|
807
807
|
```
|
|
808
808
|
|
|
809
809
|
e.g :
|
|
810
810
|
```python
|
|
811
|
-
from
|
|
811
|
+
from iop import Utils
|
|
812
812
|
Utils.register_folder("/irisdev/app/src/python/demo/",1,"PEX")
|
|
813
813
|
```
|
|
814
814
|
|
|
@@ -823,7 +823,7 @@ Start an embedded python shell :
|
|
|
823
823
|
Then use this static method to migrate the settings file to the iris framework.
|
|
824
824
|
|
|
825
825
|
```python
|
|
826
|
-
from
|
|
826
|
+
from iop import Utils
|
|
827
827
|
Utils.migrate()
|
|
828
828
|
```
|
|
829
829
|
|
|
@@ -1050,9 +1050,9 @@ PRODUCTIONS = [
|
|
|
1050
1050
|
]
|
|
1051
1051
|
```
|
|
1052
1052
|
|
|
1053
|
-
## 6.13. Direct use of
|
|
1053
|
+
## 6.13. Direct use of IOP
|
|
1054
1054
|
|
|
1055
|
-
If you don't want to use the register_component util. You can add a
|
|
1055
|
+
If you don't want to use the register_component util. You can add a IOP.BusinessService component directly into the management portal and configure the properties :
|
|
1056
1056
|
- %module :
|
|
1057
1057
|
- Module name of your python code
|
|
1058
1058
|
- %classname :
|
|
@@ -1075,7 +1075,7 @@ iop
|
|
|
1075
1075
|
|
|
1076
1076
|
output :
|
|
1077
1077
|
```bash
|
|
1078
|
-
usage: python3 -m
|
|
1078
|
+
usage: python3 -m iop [-h] [-d DEFAULT] [-l] [-s START] [-k] [-S] [-r] [-M MIGRATE] [-e EXPORT] [-x] [-v] [-L]
|
|
1079
1079
|
optional arguments:
|
|
1080
1080
|
-h, --help display help and default production name
|
|
1081
1081
|
-d DEFAULT, --default DEFAULT
|
|
@@ -1107,7 +1107,7 @@ iop -h
|
|
|
1107
1107
|
|
|
1108
1108
|
output :
|
|
1109
1109
|
```bash
|
|
1110
|
-
usage: python3 -m
|
|
1110
|
+
usage: python3 -m iop [-h] [-d DEFAULT] [-l] [-s START] [-k] [-S] [-r] [-M MIGRATE] [-e EXPORT] [-x] [-v] [-L]
|
|
1111
1111
|
...
|
|
1112
1112
|
default production: PEX.Production
|
|
1113
1113
|
```
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.BusinessOperation Extends IOP.BusinessOperation [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.BusinessProcess Extends IOP.BusinessProcess [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.BusinessService Extends IOP.BusinessService [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Include Ensemble
|
|
6
|
+
|
|
7
|
+
Class Grongier.PEX.Common Extends IOP.Common [ Abstract, ClassType = "", ProcedureBlock, System = 4 ]
|
|
8
|
+
{
|
|
9
|
+
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Include (%occInclude, Ensemble)
|
|
6
|
+
|
|
7
|
+
Class Grongier.PEX.Director Extends IOP.Director [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
8
|
+
{
|
|
9
|
+
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.DuplexProcess Extends IOP.BusinessProcess [ ClassType = persistent, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.InboundAdapter Extends IOP.InboundAdapter [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.Message Extends IOP.Message
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.OutboundAdapter Extends IOP.OutboundAdapter [ Inheritance = right, ProcedureBlock, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Copyright (c) 2021 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.PickleMessage Extends IOP.PickleMessage
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
Storage Default
|
|
9
|
+
{
|
|
10
|
+
<Type>%Storage.Persistent</Type>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
Class Grongier.PEX.PrivateSessionDuplex Extends IOP.PrivateSessionDuplex [ Abstract, System = 4 ]
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Ack Extends IOP.PrivateSession.Message.Ack [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Poll Extends IOP.PrivateSession.Message.Poll [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
iris_pex_embedded_python-3.0.0b1/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* Copyright (c) 2022 by InterSystems Corporation.
|
|
2
|
+
Cambridge, Massachusetts, U.S.A. All rights reserved.
|
|
3
|
+
Confidential property of InterSystems Corporation. */
|
|
4
|
+
|
|
5
|
+
/// This class is a DICOM framework class
|
|
6
|
+
Class Grongier.PEX.PrivateSession.Message.Start Extends IOP.PrivateSession.Message.Start [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
Storage Default
|
|
10
|
+
{
|
|
11
|
+
<Type>%Storage.Persistent</Type>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|