iris-pex-embedded-python 3.7.2b2__py3-none-any.whl → 4.0.0__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.
Files changed (119) hide show
  1. iop/__init__.py +276 -18
  2. iop/__main__.py +3 -3
  3. iop/cli/__init__.py +1 -0
  4. iop/cli/formatting.py +45 -0
  5. iop/{_cli.py → cli/main.py} +238 -216
  6. iop/cli/parser.py +165 -0
  7. iop/cli/types.py +73 -0
  8. iop/cls/IOP/Common.cls +11 -2
  9. iop/cls/IOP/PrivateSession/Duplex.cls +1 -1
  10. iop/cls/IOP/Service/Remote/Rest/v1.cls +152 -5
  11. iop/cls/IOP/Utils.cls +814 -7
  12. iop/cls/IOP/Wrapper.cls +1 -1
  13. iop/components/__init__.py +16 -0
  14. iop/{_async_request.py → components/async_request.py} +7 -7
  15. iop/components/business_host.py +363 -0
  16. iop/components/business_operation.py +84 -0
  17. iop/{_business_process.py → components/business_process.py} +145 -125
  18. iop/components/business_service.py +106 -0
  19. iop/{_common.py → components/common.py} +160 -164
  20. iop/{_debugpy.py → components/debugpy.py} +11 -11
  21. iop/{_generator_request.py → components/generator_request.py} +4 -4
  22. iop/{_inbound_adapter.py → components/inbound_adapter.py} +10 -18
  23. iop/{_log_manager.py → components/log_manager.py} +1 -1
  24. iop/{_outbound_adapter.py → components/outbound_adapter.py} +1 -1
  25. iop/components/polling_business_service.py +48 -0
  26. iop/{_private_session_duplex.py → components/private_session_duplex.py} +7 -9
  27. iop/{_private_session_process.py → components/private_session_process.py} +2 -2
  28. iop/{_settings.py → components/settings.py} +23 -3
  29. iop/messages/__init__.py +7 -0
  30. iop/messages/base.py +61 -0
  31. iop/{_decorators.py → messages/decorators.py} +8 -2
  32. iop/messages/dispatch.py +351 -0
  33. iop/{_persistent_message.py → messages/persistent.py} +24 -19
  34. iop/{_serialization.py → messages/serialization.py} +34 -21
  35. iop/{_message_validator.py → messages/validation.py} +15 -13
  36. iop/migration/__init__.py +1 -0
  37. iop/migration/io.py +61 -0
  38. iop/migration/manifest.py +534 -0
  39. iop/migration/plans.py +80 -0
  40. iop/migration/utils.py +1126 -0
  41. iop/production/__init__.py +55 -0
  42. iop/production/actions.py +525 -0
  43. iop/production/common.py +103 -0
  44. iop/production/component.py +234 -0
  45. iop/production/declarations.py +190 -0
  46. iop/production/declarative.py +214 -0
  47. iop/production/diff.py +327 -0
  48. iop/production/import_.py +296 -0
  49. iop/production/inspection.py +92 -0
  50. iop/production/model.py +1143 -0
  51. iop/production/planning.py +678 -0
  52. iop/production/reconstruction.py +341 -0
  53. iop/production/rendering.py +610 -0
  54. iop/production/runtime.py +91 -0
  55. iop/production/source_inference.py +729 -0
  56. iop/production/types.py +546 -0
  57. iop/production/validation.py +452 -0
  58. iop/runtime/__init__.py +1 -0
  59. iop/runtime/director.py +415 -0
  60. iop/runtime/environment.py +59 -0
  61. iop/{_iris.py → runtime/iris.py} +2 -2
  62. iop/runtime/local.py +145 -0
  63. iop/{_director_protocol.py → runtime/protocol.py} +25 -8
  64. iop/runtime/remote/__init__.py +12 -0
  65. iop/runtime/remote/client.py +90 -0
  66. iop/runtime/remote/director.py +283 -0
  67. iop/runtime/remote/migration.py +57 -0
  68. iop/runtime/remote/settings.py +69 -0
  69. iop/runtime/remote/setup.py +72 -0
  70. {iris_pex_embedded_python-3.7.2b2.dist-info → iris_pex_embedded_python-4.0.0.dist-info}/METADATA +11 -2
  71. iris_pex_embedded_python-4.0.0.dist-info/RECORD +99 -0
  72. iris_pex_embedded_python-4.0.0.dist-info/entry_points.txt +2 -0
  73. iris_pex_embedded_python-4.0.0.dist-info/top_level.txt +1 -0
  74. grongier/__init__.py +0 -0
  75. grongier/cls/Grongier/PEX/BusinessOperation.cls +0 -8
  76. grongier/cls/Grongier/PEX/BusinessProcess.cls +0 -13
  77. grongier/cls/Grongier/PEX/BusinessService.cls +0 -8
  78. grongier/cls/Grongier/PEX/Common.cls +0 -10
  79. grongier/cls/Grongier/PEX/Director.cls +0 -10
  80. grongier/cls/Grongier/PEX/Duplex/Operation.cls +0 -4
  81. grongier/cls/Grongier/PEX/Duplex/Process.cls +0 -13
  82. grongier/cls/Grongier/PEX/Duplex/Service.cls +0 -4
  83. grongier/cls/Grongier/PEX/InboundAdapter.cls +0 -8
  84. grongier/cls/Grongier/PEX/Message.cls +0 -13
  85. grongier/cls/Grongier/PEX/OutboundAdapter.cls +0 -8
  86. grongier/cls/Grongier/PEX/PickleMessage.cls +0 -13
  87. grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls +0 -8
  88. grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls +0 -14
  89. grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls +0 -14
  90. grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls +0 -14
  91. grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls +0 -14
  92. grongier/cls/Grongier/PEX/Test.cls +0 -10
  93. grongier/cls/Grongier/PEX/Utils.cls +0 -10
  94. grongier/cls/Grongier/Service/WSGI.cls +0 -4
  95. grongier/pex/__init__.py +0 -75
  96. grongier/pex/__main__.py +0 -4
  97. grongier/pex/_business_host.py +0 -1
  98. grongier/pex/_cli.py +0 -4
  99. grongier/pex/_common.py +0 -1
  100. grongier/pex/_director.py +0 -1
  101. grongier/pex/_utils.py +0 -1
  102. grongier/pex/wsgi/handlers.py +0 -104
  103. iop/_business_host.py +0 -322
  104. iop/_business_operation.py +0 -77
  105. iop/_business_service.py +0 -67
  106. iop/_director.py +0 -333
  107. iop/_dispatch.py +0 -194
  108. iop/_local.py +0 -106
  109. iop/_message.py +0 -45
  110. iop/_polling_business_service.py +0 -6
  111. iop/_remote.py +0 -473
  112. iop/_utils.py +0 -912
  113. iop/cls/IOP/Service/WSGI.cls +0 -310
  114. iop/wsgi/handlers.py +0 -112
  115. iris_pex_embedded_python-3.7.2b2.dist-info/RECORD +0 -96
  116. iris_pex_embedded_python-3.7.2b2.dist-info/entry_points.txt +0 -2
  117. iris_pex_embedded_python-3.7.2b2.dist-info/top_level.txt +0 -2
  118. {iris_pex_embedded_python-3.7.2b2.dist-info → iris_pex_embedded_python-4.0.0.dist-info}/WHEEL +0 -0
  119. {iris_pex_embedded_python-3.7.2b2.dist-info → iris_pex_embedded_python-4.0.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,99 @@
1
+ iop/__init__.py,sha256=4QGYNWs4t-Zt4-WfjHXmKRosWS5jZ5A27vl2hiObCVc,10621
2
+ iop/__main__.py,sha256=2rUNM7vaYK0W57Jj72rm7GORyIFLMXKwPq3QNLwYBmY,100
3
+ iop/cli/__init__.py,sha256=Y78pBdA-ULzq1c_9xQZsFBlzm3x5xgxSzkvrH5DoM7I,31
4
+ iop/cli/formatting.py,sha256=OLgHA1d8_paAuINQyKkYgihWMLoBhPn7kSXW5whRlIs,1606
5
+ iop/cli/main.py,sha256=r3sLZniM4LCXP6u1kuQmUgMLLD0H04NC5gVXKMNY31M,18418
6
+ iop/cli/parser.py,sha256=xCaMxapuNKvD4wReyt9ervUzYxJJOeciD0rrzucv47s,6127
7
+ iop/cli/types.py,sha256=ttTUCSZiz8qwAEEAzeroqwpZesN1Q0RCKXY2YMXKrkA,1801
8
+ iop/cls/IOP/BusinessOperation.cls,sha256=NlvbNtm1ZFZmHaMX_9FMKoptY-hQMq5jYN1nLQwvYJw,936
9
+ iop/cls/IOP/BusinessProcess.cls,sha256=XJxzbiV0xokzRm-iI2Be5UIJLE3MlXr7W3WS_LkOCYs,3363
10
+ iop/cls/IOP/BusinessService.cls,sha256=fplKrbQgA7cQgjKIqDR2IK2iD1iNHmT-QvWrozhE4n4,1189
11
+ iop/cls/IOP/Common.cls,sha256=hgxnDFW-H_GS6ieBq7NTn6WY92WvW7Z7owjrHkrkWdo,18362
12
+ iop/cls/IOP/Director.cls,sha256=mrnxH1HOKbWCCoOAHHpD11KigZdQ9SU8MM1ZGghFuFs,2303
13
+ iop/cls/IOP/InboundAdapter.cls,sha256=H-gZfUy8M9YxAZXfp5HVYl3uLo-7Xg9YgojioB_eYMY,619
14
+ iop/cls/IOP/Message.cls,sha256=eVy5sCHHll2aup9fn9IkDeQDhngDc5EH3TSdHmEGT7Y,30231
15
+ iop/cls/IOP/OutboundAdapter.cls,sha256=OQoGFHUy2qV_kcsShTlWGOngDrdH5dhwux4eopZyIv4,967
16
+ iop/cls/IOP/PickleMessage.cls,sha256=S3y7AClQ8mAILjxPuHdCjGosBZYzGbUQ5WTv4mYPNMQ,1673
17
+ iop/cls/IOP/Projection.cls,sha256=AZgbfpbEk02llhyIwrSw0M3QMcQNcjhjY3_vU_yx8FU,1315
18
+ iop/cls/IOP/Test.cls,sha256=zvlCZJfOCmSFdmi-ZQHWDGYmqZAgRspaJj1j0r_IxJQ,2017
19
+ iop/cls/IOP/Utils.cls,sha256=yxHHT4Y0ZTdeTNebDDE_Nh2aLdwuclk1wi_lNxIWk3A,43653
20
+ iop/cls/IOP/Wrapper.cls,sha256=ydlNpqAekoH_XdGk0ZpspX1pxgv__E00Xf57F8oxsqs,1624
21
+ iop/cls/IOP/Duplex/Operation.cls,sha256=K_fmgeLjPZQbHgNrc0kd6DUQoW0fDn1VHQjJxHo95Zk,525
22
+ iop/cls/IOP/Duplex/Process.cls,sha256=xbefZ4z84a_IUhavWN6P_gZBzqkdJ5XRTXxro6iDvAg,6986
23
+ iop/cls/IOP/Duplex/Service.cls,sha256=sTMOQUCMBgVitmQkM8bbsrmrRtCdj91VlctJ3I7b8WU,161
24
+ iop/cls/IOP/Generator/Message/Ack.cls,sha256=gVgrmTF8TrOkdsN6KqCRxWf3VVw5ukHTx58xxd968m8,905
25
+ iop/cls/IOP/Generator/Message/Poll.cls,sha256=nzZN5s4ffC243D9wRUSeb3dyBGsIqqO4pb9oqP_ahYM,890
26
+ iop/cls/IOP/Generator/Message/Start.cls,sha256=rYaMb6wtF62K_9ixHIdfSzVVCPet74xxSsYNhUSk1rQ,377
27
+ iop/cls/IOP/Generator/Message/StartPickle.cls,sha256=8DmUy_7FcIW8vAZiEmXoxBwomTRfrsVFaPjpO5j1YCo,389
28
+ iop/cls/IOP/Generator/Message/Stop.cls,sha256=AYiw3UZy8lqbW5xZznWGmuf1f389vY7XxVfrwJIONkI,920
29
+ iop/cls/IOP/Message/JSONSchema.cls,sha256=SL26n8Z0D81SAGL2NthI10NFdT4Oe1x_GQiaTYPwkoo,3252
30
+ iop/cls/IOP/PrivateSession/Duplex.cls,sha256=0Pwxu8w3CARovIPUIC4-crAUgkPLdN9aNTVQDYPOu6o,7966
31
+ iop/cls/IOP/PrivateSession/Message/Ack.cls,sha256=y6-5uSVod36bxeQuT2ytPN4TUAfM1mvGGJuTbWbpNv4,941
32
+ iop/cls/IOP/PrivateSession/Message/Poll.cls,sha256=z3ALYmGYQasTcyYNyBeoHzJdNXI4nBO_N8Cqo9l4sQY,942
33
+ iop/cls/IOP/PrivateSession/Message/Start.cls,sha256=RsJLrhglrONBDGT0RqW2K9MDXa98vMYcxJfgeD8lhAE,943
34
+ iop/cls/IOP/PrivateSession/Message/Stop.cls,sha256=7g3gKFUjNg0WXBLuWnj-VnCs5G6hSE09YTzGEp0zbGc,1390
35
+ iop/cls/IOP/Service/Remote/Handler.cls,sha256=JfsXse2jvoVvQfW8_rVEt2DCQJ9SVqReCcOUngOkpzE,938
36
+ iop/cls/IOP/Service/Remote/Rest/v1.cls,sha256=33FEBVZhHqysYaLL7l0314kJu1eZXyJlvAk2l4Q-B5g,20277
37
+ iop/components/__init__.py,sha256=uRF_YCn_ukkgzFrW0nLLMmC2jJ1dMk-ME7HX9EEEVic,880
38
+ iop/components/async_request.py,sha256=AU36pf6NIQMM9ZYR5h6LeQry0EfXXqDaKAjsP16_hWE,2411
39
+ iop/components/business_host.py,sha256=5EXwzZzfEVYLFlzi519GXKclTz2m5FMcqtl10lLzUyw,12089
40
+ iop/components/business_operation.py,sha256=KycRNz-zuyJs2VneTBVcppyd3rKLekrISjbubCbzHxY,2905
41
+ iop/components/business_process.py,sha256=1xTYwqhvJaXC-BvQ5WoGOud5QwxT9EPpvDPDX4zThXg,9839
42
+ iop/components/business_service.py,sha256=fwSdHGFuC55_qSjFBpW-cLZmrK3Cm8Yxgk1KvxuQv2Y,4718
43
+ iop/components/common.py,sha256=tsP2APRBnks1hVazS9dX0Q8KCoANbUsnaFTlzqOIkVY,19063
44
+ iop/components/debugpy.py,sha256=sNFKaF9MtWBNAqxH4ubSIVqjsIpsHGjRK2jzBU-O59Y,6011
45
+ iop/components/generator_request.py,sha256=NOllwJnY06kk_eC7cQXDQ8NBFKfQakyz3A_AgYJ5f5Y,1351
46
+ iop/components/inbound_adapter.py,sha256=H36HcHHn7fbzUuAMG-f2CwCesOeKnE6FZPuVGCUCEXo,1130
47
+ iop/components/log_manager.py,sha256=nIBMp4sz2Bi5tQml-LKj8cheiGk1LjNh5BiwqUupuZw,3241
48
+ iop/components/outbound_adapter.py,sha256=Bm6KeaLR0fO3z5o9cmJxcMdIiOvdExik-Oc272WZtHg,731
49
+ iop/components/polling_business_service.py,sha256=1EkEW8KVx6wW7DCXnrExe2z07NcmuqJN0C6P5hxVNRM,1562
50
+ iop/components/private_session_duplex.py,sha256=IZ50ThI074qwFF1wFyhFCsSJK0huyuoIeVxwlGyweeQ,5157
51
+ iop/components/private_session_process.py,sha256=edugk8iLTjaHMsz_fBuj9VE8aL66IgOz-mMlqPyk3Zc,1731
52
+ iop/components/settings.py,sha256=USAKAisdersKlAEIk8HDu_TuYtkO-Sc3an3PXjPcDRA,6296
53
+ iop/messages/__init__.py,sha256=k1AKplpjdqSxM5Gl7bpWAfw93xUgigovlI4SKhwKHRI,355
54
+ iop/messages/base.py,sha256=ZrVXEz7JrYHnt5b3M7avxcJCB0_OZxm1uWm9gQ4_eAw,1906
55
+ iop/messages/decorators.py,sha256=CWk08k8U2aTJv7Dx1n2jp8sjZZSCD8NJPoifKLB3W2g,2488
56
+ iop/messages/dispatch.py,sha256=Mgz0OHTQDU02Z8qPxl_lks-nlAvW6ADcJkTS4faYE-Q,10459
57
+ iop/messages/persistent.py,sha256=ibRhRTqzwGcAqem744KZzHiouUlc8-J3ftB4zyzQYx4,16906
58
+ iop/messages/serialization.py,sha256=BW0o-7GaceMW7RMOzOJ8g9rKEv28NYnYFwtTLmAf7Yg,9255
59
+ iop/messages/validation.py,sha256=X6MSWsjLZDuyX1Tfx0TP3T6OI4nj1HZccwR2Z9PSubY,1606
60
+ iop/migration/__init__.py,sha256=wp-RvjLKYW_Pi2AJLfiWe1bACxENzEgjXtP9UMNiSVY,36
61
+ iop/migration/io.py,sha256=hAehtApFZFgGzjzgwBmDMxdA1xoRhE-okOcEzvgFdQ4,1822
62
+ iop/migration/manifest.py,sha256=Bs4eC1_i-ZnovlgSW9FKu5WBwy_6Zwy5ZAcsi5A1szU,19351
63
+ iop/migration/plans.py,sha256=5kx3aqQiPDJ3F8hU9pp9_mOO1_N6GA0Ps7--G1Iv6z8,2549
64
+ iop/migration/utils.py,sha256=A3BlFpBGsDpF5DyA2DE1Oy52Ja7qC8QbFCxLFe_Xzg0,36867
65
+ iop/production/__init__.py,sha256=95VmJgC3lWtHpUJijLqyKKxFZa65OcRni8803kb4aHE,2148
66
+ iop/production/actions.py,sha256=TLVAjPTPq21oLj9c-IG10qMNJ2hvPzueviMy_c1a0ZU,17199
67
+ iop/production/common.py,sha256=IoUg9jkFzSQwDsHcXvkVAC4qxpWKs3kTfXFm_EP07EU,3091
68
+ iop/production/component.py,sha256=tyPqo_AvmaXowUwFj6ycqS1n22IYB1NfC3aaF4T0ves,7862
69
+ iop/production/declarations.py,sha256=Tb79Q6rwmFMi6xKpzajJa4Aa2_Tk3sD-e8qiuRJX77s,5821
70
+ iop/production/declarative.py,sha256=IpHYO46mu7k9wnq3DpFreoALPoX1Vi8DrJb-85O_-bQ,7853
71
+ iop/production/diff.py,sha256=NYpcSVklaGpaZOyl933W8eLsDWcwjlf6Upbp4pVGSMU,9975
72
+ iop/production/import_.py,sha256=twBra6j2peolFadv8WyDwZZOd9NznzAkPsk2RbOfZQM,10833
73
+ iop/production/inspection.py,sha256=PPv9DiDS4OrnKROqV7JPbuY8Y0JR-m8syPhap3GgE4g,3363
74
+ iop/production/model.py,sha256=CpI5OBEBBw9z40Lws1rKVL9Mx_P4fhKmwYPoqEUntKU,41705
75
+ iop/production/planning.py,sha256=nCYrXLKlHBlUaQZPzPfqtIERIv62F2sg4gJ0b8mtcKk,23375
76
+ iop/production/reconstruction.py,sha256=5vVteTEM6IOiQUfpe4AUQg6Nt4oaaIDR61-1l6Vu8hk,12532
77
+ iop/production/rendering.py,sha256=UVHLICY4zWEP3W7-99TpB2WeLBNREC2N8rYSnBa_iZM,20240
78
+ iop/production/runtime.py,sha256=6grX1u20OhHnvhzC3yPDTFEoDs_TN4mfs5MxzFzZMls,2637
79
+ iop/production/source_inference.py,sha256=Wl3E9-1hWb4qxD1jwrrZTLSgqN-0vGhOrJtmzDWPCao,21613
80
+ iop/production/types.py,sha256=L_wyXO8deOnqRFin74SX_K8UWILFu-VzIO5pKNa6VXY,16580
81
+ iop/production/validation.py,sha256=14BfjrLXW1AOuP8AdBrs-CY6zynaDc8_AUD9frsYAIU,13753
82
+ iop/runtime/__init__.py,sha256=wcyWMRuPCYE_CLd1NmgmI1M-IbFs2Gz2yIj2-EW_2AA,70
83
+ iop/runtime/director.py,sha256=KW8BvkATK8XuIUPNBD9rMww9r3Zg4K3H54868eOgvl0,12867
84
+ iop/runtime/environment.py,sha256=0KZ4EoW6NUEbF7FW471emxQ-9FbaiX6ngUHVGihgZXU,1564
85
+ iop/runtime/iris.py,sha256=wFbrgyv0FiMujGeEyZTysx4JX8Exk5ZPAhjc25wGWGU,185
86
+ iop/runtime/local.py,sha256=zb-0nBXtfyVvPVHjyCXdT5zFzhKsOu6GqSQ8dlsSAoU,5040
87
+ iop/runtime/protocol.py,sha256=nqtblh4DWe_F4SBEnWT_UdKbrdEjmJl1AmFBpTtE3QU,3489
88
+ iop/runtime/remote/__init__.py,sha256=qUIhYpG28edUc_-hgILjP3xGwljGqS5AuybvmUayWlg,350
89
+ iop/runtime/remote/client.py,sha256=A-cTFgl2Lvwwv6CxNoa_yqriYncIXCsU6o5TWBfkzck,2912
90
+ iop/runtime/remote/director.py,sha256=bkie751GrYLgGs7ApRCowHpSnJA8KupxCOrFDQmjyOk,9663
91
+ iop/runtime/remote/migration.py,sha256=Iboz-Ye7i9xif9bn433GazCF-gtD-HJW3wiUwWS5P6w,1831
92
+ iop/runtime/remote/settings.py,sha256=P1Hsgld5o57HpSZgPVZzobyjlUmxJj6bstiWvR0JXnc,2144
93
+ iop/runtime/remote/setup.py,sha256=Tr80F3JJTy7oSUso2jyx0iA_KZayd4MYt9vL0BvPpMA,2600
94
+ iris_pex_embedded_python-4.0.0.dist-info/licenses/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
95
+ iris_pex_embedded_python-4.0.0.dist-info/METADATA,sha256=Dkjf3rBkkXwFe3x5QD1Kbx3WB1Kj_DIbSjwURnKoEVU,5281
96
+ iris_pex_embedded_python-4.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
97
+ iris_pex_embedded_python-4.0.0.dist-info/entry_points.txt,sha256=fzS8ZFsPe8cnpEx208X60DNugCPQmuSloPeg4pyyJDY,42
98
+ iris_pex_embedded_python-4.0.0.dist-info/top_level.txt,sha256=BM54-OXQ6l2BDtmesWNXckh033s9gcjoO7bfjbwZbxU,4
99
+ iris_pex_embedded_python-4.0.0.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ iop = iop.cli.main:main
grongier/__init__.py DELETED
File without changes
@@ -1,8 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,4 +0,0 @@
1
- Class Grongier.PEX.DuplexOperation Extends IOP.DuplexOperation
2
- {
3
-
4
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,4 +0,0 @@
1
- Class Grongier.PEX.DuplexService Extends IOP.PrivateSessionDuplex
2
- {
3
-
4
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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.Stop Extends IOP.PrivateSession.Message.Stop [ ClassType = persistent, Inheritance = right, ProcedureBlock, System = 4 ]
7
- {
8
-
9
- Storage Default
10
- {
11
- <Type>%Storage.Persistent</Type>
12
- }
13
-
14
- }
@@ -1,10 +0,0 @@
1
- /// Description
2
- Class Grongier.PEX.Test Extends IOP.Test
3
- {
4
-
5
- Storage Default
6
- {
7
- <Type>%Storage.Persistent</Type>
8
- }
9
-
10
- }
@@ -1,10 +0,0 @@
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.Utils Extends IOP.Utils
8
- {
9
-
10
- }
@@ -1,4 +0,0 @@
1
- Class Grongier.Service.WSGI Extends IOP.Service.WSGI [ ServerOnly = 1 ]
2
- {
3
-
4
- }
grongier/pex/__init__.py DELETED
@@ -1,75 +0,0 @@
1
- from iop._business_operation import _BusinessOperation
2
- from iop._business_process import _BusinessProcess
3
- from iop._business_service import _BusinessService
4
- from iop._director import _Director
5
- from iop._inbound_adapter import _InboundAdapter
6
- from iop._message import _Message
7
- from iop._message import _PickleMessage
8
- from iop._outbound_adapter import _OutboundAdapter
9
- from iop._polling_business_service import _PollingBusinessServiceMixin
10
- from iop._persistent_message import Field as Field
11
- from iop._persistent_message import Model as Model
12
- from iop._persistent_message import _PersistentMessage
13
- from iop._private_session_duplex import _PrivateSessionDuplex
14
- from iop._private_session_process import _PrivateSessionProcess
15
- from iop._settings import Category as Category
16
- from iop._settings import Setting as Setting
17
- from iop._settings import controls as controls
18
- from iop._settings import setting as setting
19
- from iop._utils import _Utils
20
-
21
-
22
- class Utils(_Utils):
23
- pass
24
-
25
-
26
- class InboundAdapter(_InboundAdapter):
27
- pass
28
-
29
-
30
- class OutboundAdapter(_OutboundAdapter):
31
- pass
32
-
33
-
34
- class BusinessService(_BusinessService):
35
- pass
36
-
37
-
38
- class PollingBusinessService(_PollingBusinessServiceMixin, BusinessService):
39
- pass
40
-
41
-
42
- class BusinessOperation(_BusinessOperation):
43
- pass
44
-
45
-
46
- class BusinessProcess(_BusinessProcess):
47
- pass
48
-
49
-
50
- class DuplexService(_PrivateSessionDuplex):
51
- pass
52
-
53
-
54
- class DuplexOperation(_PrivateSessionDuplex):
55
- pass
56
-
57
-
58
- class DuplexProcess(_PrivateSessionProcess):
59
- pass
60
-
61
-
62
- class Message(_Message):
63
- pass
64
-
65
-
66
- class PickleMessage(_PickleMessage):
67
- pass
68
-
69
-
70
- class PersistentMessage(_PersistentMessage):
71
- _iop_persistent_message_abstract = True
72
-
73
-
74
- class Director(_Director):
75
- pass
grongier/pex/__main__.py DELETED
@@ -1,4 +0,0 @@
1
- # main entry is _cli.main()
2
- if __name__ == '__main__':
3
- import iop._cli as _cli
4
- _cli.main()
@@ -1 +0,0 @@
1
- from iop._business_host import _BusinessHost
grongier/pex/_cli.py DELETED
@@ -1,4 +0,0 @@
1
- from iop._cli import main
2
-
3
- if __name__ == '__main__':
4
- main()
grongier/pex/_common.py DELETED
@@ -1 +0,0 @@
1
- from iop._common import _Common
grongier/pex/_director.py DELETED
@@ -1 +0,0 @@
1
- from iop._director import _Director
grongier/pex/_utils.py DELETED
@@ -1 +0,0 @@
1
- from iop._utils import _Utils
@@ -1,104 +0,0 @@
1
- import os, sys, importlib, urllib.parse
2
- from io import BytesIO
3
-
4
- __ospath = os.getcwd()
5
-
6
- import iris
7
-
8
- os.chdir(__ospath)
9
-
10
- enc, esc = sys.getfilesystemencoding(), 'surrogateescape'
11
-
12
- rest_service = iris.cls('%REST.Impl')
13
-
14
- def get_from_module(app_path, app_module, app_name):
15
-
16
- # Add the path to the application
17
- if (app_path not in sys.path) :
18
- sys.path.append(app_path)
19
-
20
- # retrieve the application
21
- return getattr(importlib.import_module(app_module), app_name)
22
-
23
- # Changes the current working directory to the manager directory of the instance.
24
- def goto_manager_dir():
25
- iris.system.Process.CurrentDirectory(iris.system.Util.ManagerDirectory())
26
-
27
- def unicode_to_wsgi(u):
28
- # Convert an environment variable to a WSGI "bytes-as-unicode" string
29
- return u.encode(enc, esc).decode('iso-8859-1')
30
-
31
- def wsgi_to_bytes(s):
32
- return s.encode('iso-8859-1')
33
-
34
- def write(chunk):
35
- rest_service._WriteResponse(chunk)
36
-
37
- def start_response(status, response_headers, exc_info=None):
38
- '''WSGI start_response callable'''
39
- if exc_info:
40
- try:
41
- raise exc_info[1].with_traceback(exc_info[2])
42
- finally:
43
- exc_info = None
44
-
45
- rest_service._SetStatusCode(status)
46
- for tuple in response_headers:
47
- rest_service._SetHeader(tuple[0], tuple[1])
48
- return write
49
-
50
-
51
- # Make request to application
52
- def make_request(environ, stream, application, path):
53
-
54
- # Change the working directory for logging purposes
55
- goto_manager_dir()
56
-
57
- error_log_file = open('WSGI.log', 'a+')
58
-
59
- # We want the working directory to be the app's directory
60
- if (not path.endswith(os.path.sep)):
61
- path = path + os.path.sep
62
-
63
- #iris.system.Process.CurrentDirectory(path)
64
-
65
- # Set up the body of the request
66
- if stream != '':
67
- bytestream = stream
68
- elif (environ['CONTENT_TYPE'] == 'application/x-www-form-urlencoded'):
69
- bytestream = BytesIO()
70
- part = urllib.parse.urlencode(environ['formdata'])
71
- bytestream.write(part.encode('utf-8'))
72
- bytestream.seek(0)
73
- else:
74
- bytestream = BytesIO(b'')
75
-
76
- #for k,v in os.environ.items():
77
- #environ[k] = unicode_to_wsgi(v)
78
- environ['wsgi.input'] = bytestream
79
- environ['wsgi.errors'] = error_log_file
80
- environ['wsgi.version'] = (1, 0)
81
- environ['wsgi.multithread'] = False
82
- environ['wsgi.multiprocess'] = True
83
- environ['wsgi.run_once'] = True
84
-
85
-
86
- if environ.get('HTTPS', 'off') in ('on', '1'):
87
- environ['wsgi.url_scheme'] = 'https'
88
- else:
89
- environ['wsgi.url_scheme'] = 'http'
90
-
91
- # Calling WSGI application
92
- response = application(environ, start_response)
93
-
94
- error_log_file.close()
95
-
96
- try:
97
- for data in response:
98
- if data:
99
- # (REST.Impl).Write() needs a utf-8 string
100
- write(data.decode('utf-8'))
101
- write(b'')
102
- finally:
103
- if hasattr(response, 'close'):
104
- response.close()