pyegeria 5.3.4.1__py3-none-any.whl → 5.3.4.3__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 (395) hide show
  1. pyegeria/.DS_Store +0 -0
  2. pyegeria/__init__.py +70 -68
  3. pyegeria/_client.py +8 -8
  4. pyegeria/_exceptions.py +55 -46
  5. pyegeria/_globals.py +0 -1
  6. pyegeria/_validators.py +5 -5
  7. pyegeria/asset_catalog_omvs.py +5 -4
  8. pyegeria/automated_curation_omvs.py +6 -2
  9. pyegeria/classification_manager_omvs.py +6 -4
  10. pyegeria/collection_manager_omvs.py +5 -5
  11. pyegeria/commands/.DS_Store +0 -0
  12. pyegeria/commands/__init__.py +13 -11
  13. pyegeria/commands/__pycache__/__init__.cpython-312.pyc +0 -0
  14. pyegeria/commands/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
  15. pyegeria/commands/cat/__init__.py +1 -1
  16. pyegeria/commands/cat/__pycache__/__init__.cpython-312.pyc +0 -0
  17. pyegeria/commands/cat/__pycache__/get_asset_graph.cpython-312.pyc +0 -0
  18. pyegeria/commands/cat/__pycache__/get_collection.cpython-312.pyc +0 -0
  19. pyegeria/commands/cat/__pycache__/get_project_dependencies.cpython-312.pyc +0 -0
  20. pyegeria/commands/cat/__pycache__/get_project_structure.cpython-312.pyc +0 -0
  21. pyegeria/commands/cat/__pycache__/get_tech_type_elements.cpython-312.pyc +0 -0
  22. pyegeria/commands/cat/__pycache__/glossary_actions.cpython-312.pyc +0 -0
  23. pyegeria/commands/cat/__pycache__/list_assets.cpython-312.pyc +0 -0
  24. pyegeria/commands/cat/__pycache__/list_cert_types.cpython-312.pyc +0 -0
  25. pyegeria/commands/cat/__pycache__/list_collections.cpython-312.pyc +0 -0
  26. pyegeria/commands/cat/__pycache__/list_deployed_catalogs.cpython-312.pyc +0 -0
  27. pyegeria/commands/cat/__pycache__/list_deployed_database_schemas.cpython-312.pyc +0 -0
  28. pyegeria/commands/cat/__pycache__/list_deployed_databases.cpython-312.pyc +0 -0
  29. pyegeria/commands/cat/__pycache__/list_glossaries.cpython-312.pyc +0 -0
  30. pyegeria/commands/cat/__pycache__/list_projects.cpython-312.pyc +0 -0
  31. pyegeria/commands/cat/__pycache__/list_servers_deployed_imp.cpython-312.pyc +0 -0
  32. pyegeria/commands/cat/__pycache__/list_tech_type_elements.cpython-312.pyc +0 -0
  33. pyegeria/commands/cat/__pycache__/list_tech_types.cpython-312.pyc +0 -0
  34. pyegeria/commands/cat/__pycache__/list_terms.cpython-312.pyc +0 -0
  35. pyegeria/commands/cat/__pycache__/list_todos.cpython-312.pyc +0 -0
  36. pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc +0 -0
  37. pyegeria/commands/cat/exp_list_glossaries.py +1 -2
  38. pyegeria/commands/cat/get_asset_graph.py +2 -2
  39. pyegeria/commands/cat/get_collection.py +4 -5
  40. pyegeria/commands/cat/get_project_dependencies.py +3 -5
  41. pyegeria/commands/cat/get_project_structure.py +3 -5
  42. pyegeria/commands/cat/get_tech_type_elements.py +11 -13
  43. pyegeria/commands/cat/glossary_actions.py +3 -4
  44. pyegeria/commands/cat/list_assets.py +7 -4
  45. pyegeria/commands/cat/list_cert_types.py +4 -4
  46. pyegeria/commands/cat/list_collections.py +1 -1
  47. pyegeria/commands/cat/list_deployed_catalogs.py +7 -6
  48. pyegeria/commands/cat/list_deployed_database_schemas.py +7 -6
  49. pyegeria/commands/cat/list_deployed_databases.py +7 -6
  50. pyegeria/commands/cat/list_glossaries.py +1 -1
  51. pyegeria/commands/cat/list_projects.py +3 -3
  52. pyegeria/commands/cat/list_servers_deployed_imp.py +1 -1
  53. pyegeria/commands/cat/list_tech_type_elements.py +1 -1
  54. pyegeria/commands/cat/list_tech_types.py +2 -2
  55. pyegeria/commands/cat/list_terms.py +2 -3
  56. pyegeria/commands/cat/list_todos.py +1 -1
  57. pyegeria/commands/cat/list_user_ids.py +7 -6
  58. pyegeria/commands/cli/__pycache__/__init__.cpython-312.pyc +0 -0
  59. pyegeria/commands/cli/__pycache__/egeria_login_tui.cpython-312.pyc +0 -0
  60. pyegeria/commands/cli/__pycache__/egeria_ops.cpython-312.pyc +0 -0
  61. pyegeria/commands/cli/__pycache__/ops_config.cpython-312.pyc +0 -0
  62. pyegeria/commands/cli/egeria.py +77 -69
  63. pyegeria/commands/cli/egeria_cat.py +9 -16
  64. pyegeria/commands/cli/egeria_login_tui.py +12 -14
  65. pyegeria/commands/cli/egeria_my.py +3 -6
  66. pyegeria/commands/cli/egeria_ops.py +7 -9
  67. pyegeria/commands/cli/egeria_tech.py +48 -34
  68. pyegeria/commands/cli/ops_config.py +5 -4
  69. pyegeria/commands/doc/.DS_Store +0 -0
  70. pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
  71. pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
  72. pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
  73. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
  74. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  75. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  76. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  77. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
  78. pyegeria/commands/my/__pycache__/__init__.cpython-312.pyc +0 -0
  79. pyegeria/commands/my/__pycache__/list_my_profile.cpython-312.pyc +0 -0
  80. pyegeria/commands/my/__pycache__/list_my_roles.cpython-312.pyc +0 -0
  81. pyegeria/commands/my/__pycache__/monitor_my_todos.cpython-312.pyc +0 -0
  82. pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc +0 -0
  83. pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc +0 -0
  84. pyegeria/commands/my/list_my_profile.py +4 -4
  85. pyegeria/commands/my/list_my_roles.py +2 -2
  86. pyegeria/commands/my/monitor_my_todos.py +4 -4
  87. pyegeria/commands/my/monitor_open_todos.py +4 -4
  88. pyegeria/commands/my/todo_actions.py +1 -0
  89. pyegeria/commands/ops/__init__.py +1 -0
  90. pyegeria/commands/ops/__pycache__/__init__.cpython-312.pyc +0 -0
  91. pyegeria/commands/ops/__pycache__/gov_server_actions.cpython-312.pyc +0 -0
  92. pyegeria/commands/ops/__pycache__/list_archives.cpython-312.pyc +0 -0
  93. pyegeria/commands/ops/__pycache__/list_catalog_targets.cpython-312.pyc +0 -0
  94. pyegeria/commands/ops/__pycache__/load_archive.cpython-312.pyc +0 -0
  95. pyegeria/commands/ops/__pycache__/monitor_engine_activity.cpython-312.pyc +0 -0
  96. pyegeria/commands/ops/__pycache__/monitor_engine_activity_c.cpython-312.pyc +0 -0
  97. pyegeria/commands/ops/__pycache__/monitor_gov_eng_status.cpython-312.pyc +0 -0
  98. pyegeria/commands/ops/__pycache__/monitor_integ_daemon_status.cpython-312.pyc +0 -0
  99. pyegeria/commands/ops/__pycache__/monitor_platform_status.cpython-312.pyc +0 -0
  100. pyegeria/commands/ops/__pycache__/monitor_server_startup.cpython-312.pyc +0 -0
  101. pyegeria/commands/ops/__pycache__/monitor_server_status.cpython-312.pyc +0 -0
  102. pyegeria/commands/ops/__pycache__/refresh_integration_daemon.cpython-312.pyc +0 -0
  103. pyegeria/commands/ops/__pycache__/restart_integration_daemon.cpython-312.pyc +0 -0
  104. pyegeria/commands/ops/__pycache__/table_integ_daemon_status.cpython-312.pyc +0 -0
  105. pyegeria/commands/ops/gov_server_actions.py +3 -2
  106. pyegeria/commands/ops/list_archives.py +5 -4
  107. pyegeria/commands/ops/list_catalog_targets.py +2 -2
  108. pyegeria/commands/ops/load_archive.py +2 -0
  109. pyegeria/commands/ops/monitor_asset_events.py +6 -5
  110. pyegeria/commands/ops/monitor_engine_activity.py +1 -2
  111. pyegeria/commands/ops/monitor_engine_activity_c.py +2 -2
  112. pyegeria/commands/ops/monitor_gov_eng_status.py +1 -1
  113. pyegeria/commands/ops/monitor_integ_daemon_status.py +14 -8
  114. pyegeria/commands/ops/monitor_platform_status.py +2 -1
  115. pyegeria/commands/ops/monitor_server_startup.py +5 -5
  116. pyegeria/commands/ops/monitor_server_status.py +6 -4
  117. pyegeria/commands/ops/orig_monitor_server_status.py +1 -1
  118. pyegeria/commands/tech/.DS_Store +0 -0
  119. pyegeria/commands/tech/__pycache__/__init__.cpython-312.pyc +0 -0
  120. pyegeria/commands/tech/__pycache__/get_element_info.cpython-312.pyc +0 -0
  121. pyegeria/commands/tech/__pycache__/get_guid_info.cpython-312.pyc +0 -0
  122. pyegeria/commands/tech/__pycache__/get_tech_details.cpython-312.pyc +0 -0
  123. pyegeria/commands/tech/__pycache__/get_tech_type_template.cpython-312.pyc +0 -0
  124. pyegeria/commands/tech/__pycache__/list_all_om_type_elements.cpython-312.pyc +0 -0
  125. pyegeria/commands/tech/__pycache__/list_all_om_type_elements_x.cpython-312.pyc +0 -0
  126. pyegeria/commands/tech/__pycache__/list_all_related_elements.cpython-312.pyc +0 -0
  127. pyegeria/commands/tech/__pycache__/list_anchored_elements.cpython-312.pyc +0 -0
  128. pyegeria/commands/tech/__pycache__/list_asset_types.cpython-312.pyc +0 -0
  129. pyegeria/commands/tech/__pycache__/list_elements_by_classification_by_property_value.cpython-312.pyc +0 -0
  130. pyegeria/commands/tech/__pycache__/list_elements_by_property_value.cpython-312.pyc +0 -0
  131. pyegeria/commands/tech/__pycache__/list_elements_by_property_value_x.cpython-312.pyc +0 -0
  132. pyegeria/commands/tech/__pycache__/list_elements_for_classification.cpython-312.pyc +0 -0
  133. pyegeria/commands/tech/__pycache__/list_gov_action_processes.cpython-312.pyc +0 -0
  134. pyegeria/commands/tech/__pycache__/list_information_supply_chains.cpython-312.pyc +0 -0
  135. pyegeria/commands/tech/__pycache__/list_registered_services.cpython-312.pyc +0 -0
  136. pyegeria/commands/tech/__pycache__/list_related_elements_with_prop_value.cpython-312.pyc +0 -0
  137. pyegeria/commands/tech/__pycache__/list_related_specification.cpython-312.pyc +0 -0
  138. pyegeria/commands/tech/__pycache__/list_relationship_types.cpython-312.pyc +0 -0
  139. pyegeria/commands/tech/__pycache__/list_relationships.cpython-312.pyc +0 -0
  140. pyegeria/commands/tech/__pycache__/list_solution_blueprints.cpython-312.pyc +0 -0
  141. pyegeria/commands/tech/__pycache__/list_solution_components.cpython-312.pyc +0 -0
  142. pyegeria/commands/tech/__pycache__/list_solution_roles.cpython-312.pyc +0 -0
  143. pyegeria/commands/tech/__pycache__/list_tech_templates.cpython-312.pyc +0 -0
  144. pyegeria/commands/tech/__pycache__/list_valid_metadata_values.cpython-312.pyc +0 -0
  145. pyegeria/commands/tech/get_element_info.py +3 -5
  146. pyegeria/commands/tech/get_guid_info.py +2 -3
  147. pyegeria/commands/tech/get_tech_details.py +6 -7
  148. pyegeria/commands/tech/get_tech_type_template.py +2 -2
  149. pyegeria/commands/tech/list_all_om_type_elements.py +7 -6
  150. pyegeria/commands/tech/list_all_om_type_elements_x.py +8 -9
  151. pyegeria/commands/tech/list_all_related_elements.py +8 -6
  152. pyegeria/commands/tech/list_anchored_elements.py +2 -2
  153. pyegeria/commands/tech/list_asset_types.py +2 -2
  154. pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +38 -24
  155. pyegeria/commands/tech/list_elements_by_property_value.py +26 -21
  156. pyegeria/commands/tech/list_elements_by_property_value_x.py +18 -13
  157. pyegeria/commands/tech/list_elements_for_classification.py +8 -6
  158. pyegeria/commands/tech/list_gov_action_processes.py +3 -4
  159. pyegeria/commands/tech/list_information_supply_chains.py +19 -24
  160. pyegeria/commands/tech/list_registered_services.py +1 -1
  161. pyegeria/commands/tech/list_related_elements_with_prop_value.py +27 -13
  162. pyegeria/commands/tech/list_related_specification.py +1 -1
  163. pyegeria/commands/tech/list_relationship_types.py +2 -3
  164. pyegeria/commands/tech/list_relationships.py +1 -1
  165. pyegeria/commands/tech/list_solution_blueprints.py +40 -37
  166. pyegeria/commands/tech/list_solution_components.py +49 -36
  167. pyegeria/commands/tech/list_solution_roles.py +44 -37
  168. pyegeria/commands/tech/list_tech_templates.py +1 -1
  169. pyegeria/commands/tech/list_valid_metadata_values.py +3 -4
  170. pyegeria/commands/tech/table_tech_templates.py +14 -11
  171. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Automated Manufacturing Control.html +1 -1
  172. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Clinical Trial Management Solution Blueprint.html +1 -1
  173. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Employee Management Solution Blueprint.html +1 -1
  174. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Hazardous Material Management Solution Blueprint.html +1 -1
  175. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Inventory Management.html +1 -1
  176. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Personalized Medicine Order Fulfillment Solution Blueprint.html +1 -1
  177. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Sustainability Reporting Solution Blueprint.html +1 -1
  178. pyegeria/commands/tech/work/mermaid_graphs/blueprints/{{displayName}}.html +1 -1
  179. pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +1 -1
  180. pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +1 -1
  181. pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +1 -1
  182. pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +1 -1
  183. pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +1 -1
  184. pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +1 -1
  185. pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +1 -1
  186. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +1 -1
  187. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +1 -1
  188. pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +1 -1
  189. pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +1 -1
  190. pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +1 -1
  191. pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +1 -1
  192. pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +1 -1
  193. pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +1 -1
  194. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +1 -1
  195. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +1 -1
  196. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +1 -1
  197. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +1 -1
  198. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +1 -1
  199. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +1 -1
  200. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +1 -1
  201. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +1 -1
  202. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DC-LEADER.html +1 -1
  203. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DEPOT-LEADER.html +1 -1
  204. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-LAB-LEADER.html +1 -1
  205. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-OFFICE-LEADER.html +1 -1
  206. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-SITE-LEADER.html +1 -1
  207. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-DC-LEADER.html +1 -1
  208. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-FACTORY-LEADER.html +1 -1
  209. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-OFFICE-LEADER.html +1 -1
  210. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-SITE-LEADER.html +1 -1
  211. pyegeria/commands/tech/work/mermaid_graphs/roles/C-TRL-SUSTAINABILITY-CHAMP.html +1 -1
  212. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-CT:ProjectManager.html +1 -1
  213. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-MM:ProjectManager.html +1 -1
  214. pyegeria/commands/tech/work/mermaid_graphs/roles/CertifiedDataEngineer.html +1 -1
  215. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialManager.html +1 -1
  216. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospital.html +1 -1
  217. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospitalCoordinator.html +1 -1
  218. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialSponsor.html +1 -1
  219. pyegeria/commands/tech/work/mermaid_graphs/roles/Community Leader.html +1 -1
  220. pyegeria/commands/tech/work/mermaid_graphs/roles/CommunityMember.html +1 -1
  221. pyegeria/commands/tech/work/mermaid_graphs/roles/DIST-SUSTAINABILITY-CHAMP.html +1 -1
  222. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DC-LEADER.html +1 -1
  223. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DEPOT-LEADER.html +1 -1
  224. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-FACTORY-LEADER.html +1 -1
  225. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-OFFICE-LEADER.html +1 -1
  226. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-SITE-LEADER.html +1 -1
  227. pyegeria/commands/tech/work/mermaid_graphs/roles/FIN-SUSTAINABILITY-CHAMP.html +1 -1
  228. pyegeria/commands/tech/work/mermaid_graphs/roles/GOVERNANCE_LEADER.html +1 -1
  229. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:0.html +1 -1
  230. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:1.html +1 -1
  231. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:2.html +1 -1
  232. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:3.html +1 -1
  233. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:4.html +1 -1
  234. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:5.html +1 -1
  235. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:6.html +1 -1
  236. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:7.html +1 -1
  237. pyegeria/commands/tech/work/mermaid_graphs/roles/HR-SUSTAINABILITY-CHAMP.html +1 -1
  238. pyegeria/commands/tech/work/mermaid_graphs/roles/IT-SUSTAINABILITY-CHAMP.html +1 -1
  239. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-DEPOT-LEADER.html +1 -1
  240. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-OFFICE-LEADER.html +1 -1
  241. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-SITE-LEADER.html +1 -1
  242. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-DC-LEADER.html +1 -1
  243. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-LAB-LEADER.html +1 -1
  244. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-OFFICE-LEADER.html +1 -1
  245. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-SITE-LEADER.html +1 -1
  246. pyegeria/commands/tech/work/mermaid_graphs/roles/MFG-SUSTAINABILITY-CHAMP.html +1 -1
  247. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-DC-LEADER.html +1 -1
  248. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-LAB-LEADER.html +1 -1
  249. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-OFFICE-LEADER.html +1 -1
  250. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-SITE-LEADER.html +1 -1
  251. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentDataScientist.html +1 -1
  252. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentResearcher.html +1 -1
  253. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-001:ProjectManager.html +1 -1
  254. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-002:ProjectManager.html +1 -1
  255. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-003:ProjectManager.html +1 -1
  256. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF:ProjectManager.html +1 -1
  257. pyegeria/commands/tech/work/mermaid_graphs/roles/RES-SUSTAINABILITY-CHAMP.html +1 -1
  258. pyegeria/commands/tech/work/mermaid_graphs/roles/SALES-SUSTAINABILITY-CHAMP.html +1 -1
  259. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-LEAD.html +1 -1
  260. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-TECH-LEAD.html +1 -1
  261. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityChampion.html +1 -1
  262. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityExecutive.html +1 -1
  263. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityLeader.html +1 -1
  264. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0001.html +1 -1
  265. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0002.html +1 -1
  266. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0003.html +1 -1
  267. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0004.html +1 -1
  268. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0005.html +1 -1
  269. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0006.html +1 -1
  270. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0007.html +1 -1
  271. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0008.html +1 -1
  272. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0009.html +1 -1
  273. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0010.html +1 -1
  274. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0011.html +1 -1
  275. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0012.html +1 -1
  276. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0013.html +1 -1
  277. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0014.html +1 -1
  278. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0015.html +1 -1
  279. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0016.html +1 -1
  280. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0017.html +1 -1
  281. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0018.html +1 -1
  282. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0019.html +1 -1
  283. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0020.html +1 -1
  284. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0021.html +1 -1
  285. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0022.html +1 -1
  286. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0023.html +1 -1
  287. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0024.html +1 -1
  288. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2343.html +1 -1
  289. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2373.html +1 -1
  290. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3067.html +1 -1
  291. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3082.html +1 -1
  292. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4051.html +1 -1
  293. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4302.html +1 -1
  294. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4332.html +1 -1
  295. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:5656.html +1 -1
  296. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6788.html +1 -1
  297. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6877.html +1 -1
  298. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:7432.html +1 -1
  299. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9657.html +1 -1
  300. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9992.html +1 -1
  301. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9993.html +1 -1
  302. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9994.html +1 -1
  303. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9995.html +1 -1
  304. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9996.html +1 -1
  305. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9997.html +1 -1
  306. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9998.html +1 -1
  307. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9999.html +1 -1
  308. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0001.html +1 -1
  309. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0002.html +1 -1
  310. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0003.html +1 -1
  311. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0004.html +1 -1
  312. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0005.html +1 -1
  313. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0006.html +1 -1
  314. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0007.html +1 -1
  315. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0008.html +1 -1
  316. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0009.html +1 -1
  317. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0010.html +1 -1
  318. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0011.html +1 -1
  319. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0012.html +1 -1
  320. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0013.html +1 -1
  321. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0014.html +1 -1
  322. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0015.html +1 -1
  323. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0016.html +1 -1
  324. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0017.html +1 -1
  325. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0018.html +1 -1
  326. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0019.html +1 -1
  327. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0020.html +1 -1
  328. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0021.html +1 -1
  329. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0022.html +1 -1
  330. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0023.html +1 -1
  331. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0024.html +1 -1
  332. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2343.html +1 -1
  333. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2373.html +1 -1
  334. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3067.html +1 -1
  335. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3082.html +1 -1
  336. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4051.html +1 -1
  337. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4302.html +1 -1
  338. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4332.html +1 -1
  339. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:5656.html +1 -1
  340. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6788.html +1 -1
  341. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6877.html +1 -1
  342. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:7432.html +1 -1
  343. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9657.html +1 -1
  344. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9992.html +1 -1
  345. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9993.html +1 -1
  346. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9994.html +1 -1
  347. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9995.html +1 -1
  348. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9996.html +1 -1
  349. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9997.html +1 -1
  350. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9998.html +1 -1
  351. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9999.html +1 -1
  352. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DC-LEADER.html +1 -1
  353. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DEPOT-LEADER.html +1 -1
  354. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-FACTORY-LEADER.html +1 -1
  355. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-OFFICE-LEADER.html +1 -1
  356. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-SITE-LEADER.html +1 -1
  357. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Subject Onboarding.html +1 -1
  358. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Treatment Validation.html +1 -1
  359. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Employee Expense Payment.html +1 -1
  360. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Drug Product Information Distribution.html +1 -1
  361. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Employee Onboarding.html +1 -1
  362. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Personalized Treatment Ordering.html +1 -1
  363. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Physical Inventory Tracking.html +1 -1
  364. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Sustainability Reporting.html +1 -1
  365. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/{{displayName}}.html +1 -1
  366. pyegeria/commands/tech/x_list_related_elements.py +4 -2
  367. pyegeria/core_omag_server_config.py +1 -1
  368. pyegeria/create_tech_guid_lists.py +3 -1
  369. pyegeria/egeria_cat_client.py +5 -8
  370. pyegeria/egeria_client.py +17 -20
  371. pyegeria/egeria_config_client.py +2 -1
  372. pyegeria/egeria_my_client.py +4 -4
  373. pyegeria/egeria_tech_client.py +29 -20
  374. pyegeria/full_omag_server_config.py +5 -3
  375. pyegeria/glossary_browser_omvs.py +2 -5
  376. pyegeria/glossary_manager_omvs.py +4 -7
  377. pyegeria/mermaid_utilities.py +13 -11
  378. pyegeria/metadata_explorer_omvs.py +4 -5
  379. pyegeria/my_profile_omvs.py +2 -1
  380. pyegeria/platform_services.py +4 -4
  381. pyegeria/project_manager_omvs.py +2 -4
  382. pyegeria/runtime_manager_omvs.py +5 -8
  383. pyegeria/server_operations.py +1 -1
  384. pyegeria/solution_architect_omvs.py +136 -120
  385. pyegeria/template_manager_omvs.py +4 -9
  386. pyegeria/utils.py +3 -1
  387. pyegeria/valid_metadata_omvs.py +1 -0
  388. pyegeria/x_action_author_omvs.py +2 -5
  389. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/METADATA +1 -1
  390. pyegeria-5.3.4.3.dist-info/RECORD +522 -0
  391. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/entry_points.txt +0 -1
  392. pyegeria/commands/cat/link-check.py +0 -185
  393. pyegeria-5.3.4.1.dist-info/RECORD +0 -437
  394. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/LICENSE +0 -0
  395. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/WHEEL +0 -0
@@ -1,21 +1,23 @@
1
1
  """This creates a templates guid file from the core metadata archive"""
2
- from jedi import Project
3
- from rich.markdown import Markdown
4
- from rich.prompt import Prompt
5
- import os
2
+
6
3
  import argparse
7
- import time
4
+ import os
8
5
  import sys
6
+ import time
7
+
8
+ from jedi import Project
9
9
  from rich import box
10
10
  from rich.console import Console
11
+ from rich.markdown import Markdown
12
+ from rich.prompt import Prompt
11
13
  from rich.table import Table
12
14
 
13
15
  from pyegeria import (
16
+ EgeriaTech,
14
17
  InvalidParameterException,
15
18
  PropertyServerException,
16
19
  UserNotAuthorizedException,
17
20
  print_exception_response,
18
- EgeriaTech,
19
21
  )
20
22
 
21
23
  console = Console()
@@ -12,20 +12,19 @@ import os
12
12
  import sys
13
13
  import time
14
14
 
15
- from rich import box
16
- from rich import print
15
+ from rich import box, print
17
16
  from rich.console import Console
18
17
  from rich.prompt import Prompt
19
18
  from rich.table import Table
20
19
 
21
20
  from pyegeria import (
21
+ EgeriaTech,
22
22
  InvalidParameterException,
23
23
  PropertyServerException,
24
24
  UserNotAuthorizedException,
25
+ ValidMetadataManager,
25
26
  print_exception_response,
26
- EgeriaTech,
27
27
  )
28
- from pyegeria import ValidMetadataManager
29
28
 
30
29
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
31
30
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
@@ -11,7 +11,7 @@ import argparse
11
11
  import os
12
12
  import time
13
13
 
14
- from rich import print, box
14
+ from rich import box, print
15
15
  from rich.console import Console
16
16
  from rich.markdown import Markdown
17
17
  from rich.panel import Panel
@@ -19,19 +19,16 @@ from rich.prompt import Prompt
19
19
  from rich.table import Table
20
20
  from rich.text import Text
21
21
  from rich.tree import Tree
22
- from pyegeria.solution_architect_omvs import SolutionArchitect
22
+
23
23
  from pyegeria import (
24
- UserNotAuthorizedException,
25
- PropertyServerException,
26
24
  InvalidParameterException,
25
+ PropertyServerException,
26
+ UserNotAuthorizedException,
27
27
  save_mermaid_graph,
28
28
  save_mermaid_html,
29
-
30
- )
31
-
32
- from pyegeria._exceptions import (
33
- print_exception_response,
34
29
  )
30
+ from pyegeria._exceptions import print_exception_response
31
+ from pyegeria.solution_architect_omvs import SolutionArchitect
35
32
 
36
33
  disable_ssl_warnings = True
37
34
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
@@ -50,6 +47,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
50
47
  EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
51
48
  EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
52
49
 
50
+
53
51
  def supply_chain_viewer(
54
52
  search_string: str,
55
53
  server_name: str,
@@ -75,7 +73,7 @@ def supply_chain_viewer(
75
73
  box=box.ROUNDED,
76
74
  caption=f"View Server '{server_name}' @ Platform - {platform_url}",
77
75
  expand=True,
78
- )
76
+ )
79
77
  table.add_column("Supply Chain Name")
80
78
  table.add_column("Qualified Name \n/\n GUID", width=38, no_wrap=False)
81
79
  table.add_column("Purposes")
@@ -87,20 +85,22 @@ def supply_chain_viewer(
87
85
  return "No Supply Chains found"
88
86
 
89
87
  for sc in supply_chains:
90
- sc_name = sc["properties"].get("displayName", '---')
91
- sc_qname = sc["properties"].get("qualifiedName", '---')
88
+ sc_name = sc["properties"].get("displayName", "---")
89
+ sc_qname = sc["properties"].get("qualifiedName", "---")
92
90
  sc_guid = sc["elementHeader"]["guid"]
93
- sc_purpose = sc["properties"].get("purposes",'---')
91
+ sc_purpose = sc["properties"].get("purposes", "---")
94
92
  if isinstance(sc_purpose, list):
95
93
  sc_purpose_str = "\n* ".join(sc_purpose)
96
94
  else:
97
95
  sc_purpose_str = sc_purpose
98
- sc_scope = sc["properties"].get("scope",'---')
99
- sc_desc = sc["properties"].get("description",'---')
96
+ sc_scope = sc["properties"].get("scope", "---")
97
+ sc_desc = sc["properties"].get("description", "---")
100
98
  sc_unique_name = f"{sc_qname}\n\n\t\t/\n\n{sc_guid}"
101
- sc_mermaid = sc.get("mermaidGraph",'---')
102
- if sc_mermaid != '---':
103
- link = save_mermaid_html(sc_name, sc_mermaid, f"{EGERIA_MERMAID_FOLDER}/supply-chains" )
99
+ sc_mermaid = sc.get("mermaidGraph", "---")
100
+ if sc_mermaid != "---":
101
+ link = save_mermaid_html(
102
+ sc_name, sc_mermaid, f"{EGERIA_MERMAID_FOLDER}/supply-chains"
103
+ )
104
104
  sc_mermaid_link = f"file://:{link}"
105
105
  # print("Visit my [link=https://www.willmcgugan.com]blog[/link]!")
106
106
  # sc_scope = Text(f"{sc_scope}\n\t\t/\n{sc_mermaid_link}")
@@ -111,9 +111,6 @@ def supply_chain_viewer(
111
111
 
112
112
  return table
113
113
 
114
-
115
-
116
-
117
114
  try:
118
115
  console = Console(width=width, force_terminal=not jupyter)
119
116
  with console.pager():
@@ -142,9 +139,7 @@ def main():
142
139
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
143
140
 
144
141
  try:
145
- search_string = Prompt.ask(
146
- "Enter a search string:", default="*"
147
- )
142
+ search_string = Prompt.ask("Enter a search string:", default="*")
148
143
  supply_chain_viewer(search_string, server, url, userid, user_pass)
149
144
  except KeyboardInterrupt:
150
145
  pass
@@ -20,8 +20,8 @@ from rich.table import Table
20
20
  from pyegeria import (
21
21
  InvalidParameterException,
22
22
  PropertyServerException,
23
- UserNotAuthorizedException,
24
23
  RegisteredInfo,
24
+ UserNotAuthorizedException,
25
25
  )
26
26
 
27
27
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
@@ -1,22 +1,24 @@
1
1
  """This finds all elements related to the specified element by the specified relationship type,
2
- that match the property value for the properties specified"""
3
- from jedi import Project
4
- from rich.markdown import Markdown
5
- from rich.prompt import Prompt
6
- import os
2
+ that match the property value for the properties specified"""
3
+
7
4
  import argparse
8
- import time
5
+ import os
9
6
  import sys
7
+ import time
8
+
9
+ from jedi import Project
10
10
  from rich import box
11
11
  from rich.console import Console
12
+ from rich.markdown import Markdown
13
+ from rich.prompt import Prompt
12
14
  from rich.table import Table
13
15
 
14
16
  from pyegeria import (
17
+ EgeriaTech,
15
18
  InvalidParameterException,
16
19
  PropertyServerException,
17
20
  UserNotAuthorizedException,
18
21
  print_exception_response,
19
- EgeriaTech,
20
22
  )
21
23
 
22
24
  console = Console()
@@ -185,20 +187,32 @@ def main():
185
187
  server = args.server.strip() if args.server is not None else EGERIA_VIEW_SERVER
186
188
  url = args.url.strip if args.url is not None else EGERIA_PLATFORM_URL
187
189
  userid = args.userid.strip() if args.userid is not None else EGERIA_USER
188
- password = args.password.strip() if args.password is not None else EGERIA_USER_PASSWORD
190
+ password = (
191
+ args.password.strip() if args.password is not None else EGERIA_USER_PASSWORD
192
+ )
189
193
 
190
194
  try:
191
195
  element_guid = Prompt.ask("Guid of base element").strip()
192
196
  relationship_type = Prompt.ask("Enter the relationship type to follow").strip()
193
197
  property_value = Prompt.ask("Enter the property value to search for").strip()
194
- property_names = Prompt.ask("Enter a comma seperated list of properties to search").strip()
198
+ property_names = Prompt.ask(
199
+ "Enter a comma seperated list of properties to search"
200
+ ).strip()
195
201
  om_type = Prompt.ask(
196
202
  "Enter the Open Metadata Type to find elements of", default="Referenceable"
197
- )
203
+ )
198
204
  om_type = om_type.strip() if type(om_type) is str else None
199
- list_related_elements_with_prop_value(element_guid, relationship_type, property_value,
200
- [property_names], om_type, server, url,
201
- userid,password)
205
+ list_related_elements_with_prop_value(
206
+ element_guid,
207
+ relationship_type,
208
+ property_value,
209
+ [property_names],
210
+ om_type,
211
+ server,
212
+ url,
213
+ userid,
214
+ password,
215
+ )
202
216
  except KeyboardInterrupt:
203
217
  pass
204
218
 
@@ -19,11 +19,11 @@ from rich.prompt import Prompt
19
19
  from rich.table import Table
20
20
 
21
21
  from pyegeria import (
22
+ ClassificationManager,
22
23
  InvalidParameterException,
23
24
  PropertyServerException,
24
25
  UserNotAuthorizedException,
25
26
  print_exception_response,
26
- ClassificationManager,
27
27
  )
28
28
 
29
29
  console = Console()
@@ -11,8 +11,7 @@ import argparse
11
11
  import os
12
12
  import time
13
13
 
14
- from rich import box
15
- from rich import print
14
+ from rich import box, print
16
15
  from rich.console import Console
17
16
  from rich.markdown import Markdown
18
17
  from rich.prompt import Prompt
@@ -22,9 +21,9 @@ from pyegeria import (
22
21
  InvalidParameterException,
23
22
  PropertyServerException,
24
23
  UserNotAuthorizedException,
24
+ ValidMetadataManager,
25
25
  print_exception_response,
26
26
  )
27
- from pyegeria import ValidMetadataManager
28
27
 
29
28
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
30
29
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
@@ -20,10 +20,10 @@ from rich.prompt import Prompt
20
20
  from rich.table import Table
21
21
 
22
22
  from pyegeria import (
23
+ ClassificationManager,
23
24
  InvalidParameterException,
24
25
  PropertyServerException,
25
26
  UserNotAuthorizedException,
26
- ClassificationManager,
27
27
  max_paging_size,
28
28
  )
29
29
 
@@ -11,7 +11,7 @@ import argparse
11
11
  import os
12
12
  import time
13
13
 
14
- from rich import print, box
14
+ from rich import box, print
15
15
  from rich.console import Console
16
16
  from rich.markdown import Markdown
17
17
  from rich.panel import Panel
@@ -20,18 +20,16 @@ from rich.table import Table
20
20
  from rich.text import Text
21
21
  from rich.tree import Tree
22
22
 
23
- from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
24
- from pyegeria.solution_architect_omvs import SolutionArchitect
25
23
  from pyegeria import (
24
+ InvalidParameterException,
26
25
  ProjectManager,
27
- UserNotAuthorizedException,
28
26
  PropertyServerException,
29
- InvalidParameterException, save_mermaid_html,
30
- )
31
-
32
- from pyegeria._exceptions import (
33
- print_exception_response,
27
+ UserNotAuthorizedException,
28
+ save_mermaid_html,
34
29
  )
30
+ from pyegeria._exceptions import print_exception_response
31
+ from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
32
+ from pyegeria.solution_architect_omvs import SolutionArchitect
35
33
 
36
34
  disable_ssl_warnings = True
37
35
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
@@ -50,6 +48,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
50
48
  EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
51
49
  EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
52
50
 
51
+
53
52
  def blueprint_list(
54
53
  search_string: str,
55
54
  server_name: str,
@@ -75,9 +74,14 @@ def blueprint_list(
75
74
  box=box.ROUNDED,
76
75
  caption=f"View Server '{server_name}' @ Platform - {platform_url}",
77
76
  expand=True,
78
- )
77
+ )
79
78
  table.add_column("Blueprint Name / Diagram Link", justify="center")
80
- table.add_column("Qualified Name / GUID / Version", justify="center", width=38, no_wrap=False)
79
+ table.add_column(
80
+ "Qualified Name / GUID / Version",
81
+ justify="center",
82
+ width=38,
83
+ no_wrap=False,
84
+ )
81
85
  table.add_column("Description", justify="center")
82
86
  table.add_column("Solution Components", justify="center")
83
87
 
@@ -86,37 +90,41 @@ def blueprint_list(
86
90
  return "No Blueprints found"
87
91
 
88
92
  for bp in blueprints:
89
- bp_name = bp["properties"].get("displayName", '---')
90
- bp_qname = bp["properties"].get("qualifiedName", '---')
93
+ bp_name = bp["properties"].get("displayName", "---")
94
+ bp_qname = bp["properties"].get("qualifiedName", "---")
91
95
  bp_guid = bp["elementHeader"]["guid"]
92
- bp_desc = bp["properties"].get("description",'---')
96
+ bp_desc = bp["properties"].get("description", "---")
93
97
  bp_unique_name = f"{bp_qname}\n\n--\n\n{bp_guid}"
94
- bp_mermaid = bp.get("mermaidGraph",'---')
95
- if bp_mermaid != '---':
96
- link = save_mermaid_html(bp_name, bp_mermaid, f"{EGERIA_MERMAID_FOLDER}/blueprints")
98
+ bp_mermaid = bp.get("mermaidGraph", "---")
99
+ if bp_mermaid != "---":
100
+ link = save_mermaid_html(
101
+ bp_name, bp_mermaid, f"{EGERIA_MERMAID_FOLDER}/blueprints"
102
+ )
97
103
  link = f"file://:{link}"
98
- bp_mermaid = Text(link, style="blue link " + link)
104
+ bp_mermaid = Text(link, style="blue link " + link)
99
105
 
100
106
  bp_mermaid_label = Text(f"{bp_name}\n\n--\n\n{bp_mermaid}")
101
107
 
102
- bp_components = bp.get("solutionComponents",[])
103
- comp_md=""
108
+ bp_components = bp.get("solutionComponents", [])
109
+ comp_md = ""
104
110
  first_comp = True
105
111
  for component in bp_components:
106
- comp = component.get("solutionComponent","")
107
- if isinstance(comp,dict) is False:
112
+ comp = component.get("solutionComponent", "")
113
+ if isinstance(comp, dict) is False:
108
114
  continue
109
- comp_props = comp.get("properties",{})
110
- comp_name = comp_props.get("displayName",'---')
111
- comp_description = comp_props.get("description",'---')
112
- comp_planned = comp_props['extendedProperties'].get("plannedDeployedImplementationType",'---')
113
- comp_type = comp_props.get('solutionComponentType','---')
114
-
115
- comp_actors = comp_props.get('actors', [])
115
+ comp_props = comp.get("properties", {})
116
+ comp_name = comp_props.get("displayName", "---")
117
+ comp_description = comp_props.get("description", "---")
118
+ comp_planned = comp_props["extendedProperties"].get(
119
+ "plannedDeployedImplementationType", "---"
120
+ )
121
+ comp_type = comp_props.get("solutionComponentType", "---")
122
+
123
+ comp_actors = comp_props.get("actors", [])
116
124
  comp_actors_list = ""
117
125
  for actor in comp_actors:
118
- comp_actor_role = actor['relationshipProperties'].get('role','---')
119
- comp_actor_props = actor['relatedElement'].get('properties',{})
126
+ comp_actor_role = actor["relationshipProperties"].get("role", "---")
127
+ comp_actor_props = actor["relatedElement"].get("properties", {})
120
128
  comp_actor_props_md = f"* Role: {comp_actor_role}\n"
121
129
  for prop in comp_actor_props.keys():
122
130
  comp_actor_props_md += f"* {prop}: {comp_actor_props[prop]}\n"
@@ -134,9 +142,6 @@ def blueprint_list(
134
142
 
135
143
  return table
136
144
 
137
-
138
-
139
-
140
145
  try:
141
146
  console = Console(width=width, force_terminal=not jupyter)
142
147
  with console.pager():
@@ -165,9 +170,7 @@ def main():
165
170
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
166
171
 
167
172
  try:
168
- search_string = Prompt.ask(
169
- "Enter a search string:", default="*"
170
- )
173
+ search_string = Prompt.ask("Enter a search string:", default="*")
171
174
  blueprint_list(search_string, server, url, userid, user_pass)
172
175
  except KeyboardInterrupt:
173
176
  pass
@@ -11,7 +11,7 @@ import argparse
11
11
  import os
12
12
  import time
13
13
 
14
- from rich import print, box
14
+ from rich import box, print
15
15
  from rich.console import Console
16
16
  from rich.markdown import Markdown
17
17
  from rich.panel import Panel
@@ -20,18 +20,16 @@ from rich.table import Table
20
20
  from rich.text import Text
21
21
  from rich.tree import Tree
22
22
 
23
- from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
24
- from pyegeria.solution_architect_omvs import SolutionArchitect
25
23
  from pyegeria import (
24
+ InvalidParameterException,
26
25
  ProjectManager,
27
- UserNotAuthorizedException,
28
26
  PropertyServerException,
29
- InvalidParameterException, save_mermaid_html,
30
- )
31
-
32
- from pyegeria._exceptions import (
33
- print_exception_response,
27
+ UserNotAuthorizedException,
28
+ save_mermaid_html,
34
29
  )
30
+ from pyegeria._exceptions import print_exception_response
31
+ from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
32
+ from pyegeria.solution_architect_omvs import SolutionArchitect
35
33
 
36
34
  disable_ssl_warnings = True
37
35
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
@@ -50,6 +48,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
50
48
  EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
51
49
  EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
52
50
 
51
+
53
52
  def solution_component_list(
54
53
  search_string: str,
55
54
  server_name: str,
@@ -75,10 +74,14 @@ def solution_component_list(
75
74
  box=box.ROUNDED,
76
75
  caption=f"View Server '{server_name}' @ Platform - {platform_url}",
77
76
  expand=True,
78
- )
79
- table.add_column("Component Name / Diagram Link", justify="center", no_wrap=False)
77
+ )
78
+ table.add_column(
79
+ "Component Name / Diagram Link", justify="center", no_wrap=False
80
+ )
80
81
  table.add_column("Component Type / Planned Deployment Type", justify="center")
81
- table.add_column("Qualified Name / GUID", justify="center", width=38, no_wrap=False)
82
+ table.add_column(
83
+ "Qualified Name / GUID", justify="center", width=38, no_wrap=False
84
+ )
82
85
  table.add_column("Description / HeadCount", justify="center")
83
86
  table.add_column("Sub-Components", justify="center")
84
87
 
@@ -87,34 +90,43 @@ def solution_component_list(
87
90
  return "No components found"
88
91
 
89
92
  for component in components:
90
- component_name = component["properties"].get("displayName", '---')
91
- component_type = component["properties"].get("solutionComponentType", '---')
92
- planned_deployment_type = component["properties"].get('extendedProperties',{}).get("plannedDeployedImplementationType", '---')
93
- component_info = (f"Type: {component_type}\n\n--\n\nPlanned Deployment Type: {planned_deployment_type}")
93
+ component_name = component["properties"].get("displayName", "---")
94
+ component_type = component["properties"].get("solutionComponentType", "---")
95
+ planned_deployment_type = (
96
+ component["properties"]
97
+ .get("extendedProperties", {})
98
+ .get("plannedDeployedImplementationType", "---")
99
+ )
100
+ component_info = f"Type: {component_type}\n\n--\n\nPlanned Deployment Type: {planned_deployment_type}"
94
101
 
95
- component_qname = component["properties"].get("qualifiedName", '---')
102
+ component_qname = component["properties"].get("qualifiedName", "---")
96
103
  component_guid = component["elementHeader"]["guid"]
97
104
  component_unique_name = f"{component_qname}\n\n--\n\n{component_guid}"
98
105
 
99
- component_desc = component["properties"].get("description",'---')
106
+ component_desc = component["properties"].get("description", "---")
100
107
 
101
-
102
- component_mermaid = component.get("mermaidGraph",'---')
103
- if component_mermaid != '---':
104
- link = save_mermaid_html(component_name, component_mermaid, f"{EGERIA_MERMAID_FOLDER}/components" )
108
+ component_mermaid = component.get("mermaidGraph", "---")
109
+ if component_mermaid != "---":
110
+ link = save_mermaid_html(
111
+ component_name,
112
+ component_mermaid,
113
+ f"{EGERIA_MERMAID_FOLDER}/components",
114
+ )
105
115
  link = f"file://:{link}"
106
- component_mermaid = Text(link, style="blue link " + link)
116
+ component_mermaid = Text(link, style="blue link " + link)
107
117
 
108
- component_mermaid_label = Text(f"{component_name}\n\n--\n\n{component_mermaid}")
118
+ component_mermaid_label = Text(
119
+ f"{component_name}\n\n--\n\n{component_mermaid}"
120
+ )
109
121
 
110
- component_components = component.get("solutionComponents",[])
111
- comp_props_md=""
122
+ component_components = component.get("solutionComponents", [])
123
+ comp_props_md = ""
112
124
  first_comp = True
113
125
  for component in component_components:
114
- comp = component.get("relatedElement","")
115
- if isinstance(comp,dict) is False:
126
+ comp = component.get("relatedElement", "")
127
+ if isinstance(comp, dict) is False:
116
128
  continue
117
- comp_props = comp.get("properties",{})
129
+ comp_props = comp.get("properties", {})
118
130
  comp_props_md = ""
119
131
  for prop in comp_props.keys():
120
132
  comp_props_md += f"* **{prop}**: {comp_props[prop]}\n"
@@ -125,13 +137,16 @@ def solution_component_list(
125
137
  comp_props_md += "\n\n---\n\n"
126
138
 
127
139
  comp_props_out = Markdown(comp_props_md)
128
- table.add_row(component_mermaid_label, component_info, component_unique_name, component_desc, comp_props_out)
140
+ table.add_row(
141
+ component_mermaid_label,
142
+ component_info,
143
+ component_unique_name,
144
+ component_desc,
145
+ comp_props_out,
146
+ )
129
147
 
130
148
  return table
131
149
 
132
-
133
-
134
-
135
150
  try:
136
151
  console = Console(width=width, force_terminal=not jupyter)
137
152
  with console.pager():
@@ -160,9 +175,7 @@ def main():
160
175
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
161
176
 
162
177
  try:
163
- search_string = Prompt.ask(
164
- "Enter a search string:", default="*"
165
- )
178
+ search_string = Prompt.ask("Enter a search string:", default="*")
166
179
  solution_component_list(search_string, server, url, userid, user_pass)
167
180
  except KeyboardInterrupt:
168
181
  pass