pyegeria 5.2.1.1__py3-none-any.whl → 5.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 (311) hide show
  1. commands/cat/.DS_Store +0 -0
  2. commands/cat/Dr-Egeria_md-orig.py +166 -0
  3. commands/cat/__init__.py +23 -0
  4. commands/cat/dr_egeria_jupyter.py +122 -0
  5. commands/cat/dr_egeria_md.py +247 -0
  6. {pyegeria/commands → commands}/cat/exp_list_glossaries.py +3 -4
  7. {pyegeria/commands → commands}/cat/get_asset_graph.py +4 -4
  8. {pyegeria/commands → commands}/cat/get_collection.py +8 -9
  9. {pyegeria/commands → commands}/cat/get_project_dependencies.py +6 -8
  10. {pyegeria/commands → commands}/cat/get_project_structure.py +6 -8
  11. {pyegeria/commands → commands}/cat/get_tech_type_elements.py +13 -15
  12. {pyegeria/commands → commands}/cat/glossary_actions.py +184 -34
  13. {pyegeria/commands → commands}/cat/list_assets.py +9 -6
  14. commands/cat/list_categories.py +192 -0
  15. {pyegeria/commands → commands}/cat/list_cert_types.py +6 -6
  16. {pyegeria/commands → commands}/cat/list_collections.py +62 -19
  17. commands/cat/list_data_structures.py +223 -0
  18. {pyegeria/commands → commands}/cat/list_deployed_catalogs.py +9 -8
  19. {pyegeria/commands → commands}/cat/list_deployed_database_schemas.py +10 -9
  20. {pyegeria/commands → commands}/cat/list_deployed_databases.py +9 -8
  21. pyegeria/commands/cat/list_servers_deployed_imp.py → commands/cat/list_deployed_servers.py +3 -3
  22. {pyegeria/commands → commands}/cat/list_glossaries.py +57 -15
  23. {pyegeria/commands → commands}/cat/list_projects.py +5 -5
  24. {pyegeria/commands → commands}/cat/list_tech_type_elements.py +3 -3
  25. {pyegeria/commands → commands}/cat/list_tech_types.py +4 -4
  26. {pyegeria/commands → commands}/cat/list_terms.py +93 -45
  27. {pyegeria/commands → commands}/cat/list_todos.py +3 -3
  28. {pyegeria/commands → commands}/cat/list_user_ids.py +9 -8
  29. {pyegeria/commands → commands}/cli/__init__.py +1 -1
  30. {pyegeria/commands → commands}/cli/egeria.py +506 -250
  31. {pyegeria/commands → commands}/cli/egeria_cat.py +127 -50
  32. {pyegeria/commands → commands}/cli/egeria_login_tui.py +15 -17
  33. {pyegeria/commands → commands}/cli/egeria_my.py +22 -15
  34. {pyegeria/commands → commands}/cli/egeria_ops.py +54 -55
  35. {pyegeria/commands → commands}/cli/egeria_tech.py +364 -152
  36. {pyegeria/commands → commands}/cli/ops_config.py +11 -4
  37. commands/cli/txt_custom_v2.tcss +19 -0
  38. commands/my/__init__.py +22 -0
  39. {pyegeria/commands → commands}/my/list_my_profile.py +6 -8
  40. {pyegeria/commands → commands}/my/list_my_roles.py +4 -4
  41. {pyegeria/commands → commands}/my/monitor_my_todos.py +7 -7
  42. {pyegeria/commands → commands}/my/monitor_open_todos.py +7 -7
  43. {pyegeria/commands → commands}/my/todo_actions.py +3 -2
  44. commands/ops/__init__.py +23 -0
  45. {pyegeria/commands → commands}/ops/gov_server_actions.py +5 -4
  46. {pyegeria/commands → commands}/ops/list_archives.py +7 -6
  47. {pyegeria/commands → commands}/ops/list_catalog_targets.py +4 -4
  48. {pyegeria/commands → commands}/ops/load_archive.py +4 -2
  49. {pyegeria/commands → commands}/ops/monitor_asset_events.py +8 -7
  50. {pyegeria/commands → commands}/ops/monitor_engine_activity.py +5 -5
  51. {pyegeria/commands → commands}/ops/monitor_engine_activity_c.py +3 -3
  52. {pyegeria/commands → commands}/ops/monitor_gov_eng_status.py +3 -2
  53. {pyegeria/commands → commands}/ops/monitor_integ_daemon_status.py +23 -15
  54. {pyegeria/commands → commands}/ops/monitor_platform_status.py +5 -4
  55. {pyegeria/commands → commands}/ops/monitor_server_startup.py +7 -7
  56. {pyegeria/commands → commands}/ops/monitor_server_status.py +16 -11
  57. {pyegeria/commands → commands}/ops/orig_monitor_server_list.py +2 -2
  58. {pyegeria/commands → commands}/ops/orig_monitor_server_status.py +3 -3
  59. {pyegeria/commands → commands}/ops/refresh_integration_daemon.py +4 -4
  60. {pyegeria/commands → commands}/ops/restart_integration_daemon.py +3 -3
  61. {pyegeria/commands → commands}/ops/table_integ_daemon_status.py +3 -3
  62. commands/tech/__init__.py +22 -0
  63. commands/tech/generic_actions.py +74 -0
  64. {pyegeria/commands → commands}/tech/get_element_info.py +5 -7
  65. {pyegeria/commands → commands}/tech/get_guid_info.py +4 -5
  66. {pyegeria/commands → commands}/tech/get_tech_details.py +8 -9
  67. {pyegeria/commands → commands}/tech/get_tech_type_template.py +4 -4
  68. pyegeria/commands/tech/list_elements.py → commands/tech/list_all_om_type_elements.py +11 -10
  69. pyegeria/commands/tech/list_elements_x.py → commands/tech/list_all_om_type_elements_x.py +11 -12
  70. pyegeria/commands/tech/list_related_elements.py → commands/tech/list_all_related_elements.py +11 -9
  71. {pyegeria/commands → commands}/tech/list_anchored_elements.py +16 -16
  72. {pyegeria/commands → commands}/tech/list_asset_types.py +4 -4
  73. commands/tech/list_elements_by_classification_by_property_value.py +200 -0
  74. commands/tech/list_elements_by_property_value.py +180 -0
  75. commands/tech/list_elements_by_property_value_x.py +201 -0
  76. {pyegeria/commands → commands}/tech/list_elements_for_classification.py +11 -9
  77. {pyegeria/commands → commands}/tech/list_gov_action_processes.py +5 -6
  78. commands/tech/list_information_supply_chains.py +167 -0
  79. {pyegeria/commands → commands}/tech/list_registered_services.py +3 -3
  80. commands/tech/list_related_elements_with_prop_value.py +221 -0
  81. {pyegeria/commands → commands}/tech/list_related_specification.py +3 -3
  82. {pyegeria/commands → commands}/tech/list_relationship_types.py +4 -5
  83. {pyegeria/commands → commands}/tech/list_relationships.py +3 -3
  84. commands/tech/list_solution_blueprints.py +181 -0
  85. commands/tech/list_solution_components.py +185 -0
  86. commands/tech/list_solution_roles.py +184 -0
  87. {pyegeria/commands → commands}/tech/list_tech_templates.py +3 -3
  88. {pyegeria/commands → commands}/tech/list_valid_metadata_values.py +5 -6
  89. {pyegeria/commands → commands}/tech/table_tech_templates.py +16 -13
  90. {pyegeria/commands → commands}/tech/x_list_related_elements.py +6 -4
  91. md_processing/__init__.py +49 -0
  92. md_processing/data/commands.json +3252 -0
  93. md_processing/dr_egeria_inbox/archive/dr_egeria_intro.md +254 -0
  94. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_more_terms.md +696 -0
  95. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part1.md +254 -0
  96. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part2.md +298 -0
  97. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part3.md +608 -0
  98. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part4.md +94 -0
  99. md_processing/dr_egeria_inbox/archive/freddie_intro.md +284 -0
  100. md_processing/dr_egeria_inbox/archive/freddie_intro_orig.md +275 -0
  101. md_processing/dr_egeria_inbox/archive/test-term.md +110 -0
  102. md_processing/dr_egeria_inbox/cat_test.md +100 -0
  103. md_processing/dr_egeria_inbox/data_field.md +54 -0
  104. md_processing/dr_egeria_inbox/data_spec.md +77 -0
  105. md_processing/dr_egeria_inbox/data_spec_test.md +2406 -0
  106. md_processing/dr_egeria_inbox/data_test.md +86 -0
  107. md_processing/dr_egeria_inbox/dr_egeria_intro_categories.md +168 -0
  108. md_processing/dr_egeria_inbox/dr_egeria_intro_part1.md +280 -0
  109. md_processing/dr_egeria_inbox/dr_egeria_intro_part2.md +313 -0
  110. md_processing/dr_egeria_inbox/dr_egeria_intro_part3.md +1073 -0
  111. md_processing/dr_egeria_inbox/dr_egeria_isc1.md +44 -0
  112. md_processing/dr_egeria_inbox/glossary_creation_experiment.ipynb +341 -0
  113. md_processing/dr_egeria_inbox/glossary_test1.md +324 -0
  114. md_processing/dr_egeria_inbox/rel.md +8 -0
  115. md_processing/dr_egeria_inbox/sb.md +119 -0
  116. md_processing/dr_egeria_inbox/search_test.md +39 -0
  117. md_processing/dr_egeria_inbox/solution-components.md +154 -0
  118. md_processing/dr_egeria_inbox/solution_blueprints.md +118 -0
  119. md_processing/dr_egeria_inbox/synonym_test.md +42 -0
  120. md_processing/dr_egeria_inbox/t2.md +268 -0
  121. md_processing/dr_egeria_outbox/processed-2025-05-15 19:52-data_test.md +94 -0
  122. md_processing/dr_egeria_outbox/processed-2025-05-16 07:39-data_test.md +88 -0
  123. md_processing/dr_egeria_outbox/processed-2025-05-17 16:01-data_field.md +56 -0
  124. md_processing/dr_egeria_outbox/processed-2025-05-18 15:51-data_test.md +103 -0
  125. md_processing/dr_egeria_outbox/processed-2025-05-18 16:47-data_test.md +94 -0
  126. md_processing/dr_egeria_outbox/processed-2025-05-19 07:14-data_test.md +96 -0
  127. md_processing/dr_egeria_outbox/processed-2025-05-19 07:20-data_test.md +100 -0
  128. md_processing/dr_egeria_outbox/processed-2025-05-19 07:22-data_test.md +88 -0
  129. md_processing/dr_egeria_outbox/processed-2025-05-19 09:26-data_test.md +91 -0
  130. md_processing/dr_egeria_outbox/processed-2025-05-19 10:27-data_test.md +91 -0
  131. md_processing/dr_egeria_outbox/processed-2025-05-19 14:04-data_test.md +91 -0
  132. md_processing/md_commands/__init__.py +3 -0
  133. md_processing/md_commands/blueprint_commands.py +303 -0
  134. md_processing/md_commands/data_designer_commands.py +1182 -0
  135. md_processing/md_commands/glossary_commands.py +1144 -0
  136. md_processing/md_commands/project_commands.py +163 -0
  137. md_processing/md_processing_utils/__init__.py +4 -0
  138. md_processing/md_processing_utils/common_md_proc_utils.py +724 -0
  139. md_processing/md_processing_utils/common_md_utils.py +172 -0
  140. md_processing/md_processing_utils/extraction_utils.py +486 -0
  141. md_processing/md_processing_utils/md_processing_constants.py +128 -0
  142. md_processing/md_processing_utils/message_constants.py +19 -0
  143. pyegeria/.DS_Store +0 -0
  144. pyegeria/__init__.py +231 -146
  145. pyegeria/_client.py +36 -13
  146. pyegeria/_exceptions.py +55 -46
  147. pyegeria/_globals.py +11 -1
  148. pyegeria/_validators.py +5 -5
  149. pyegeria/asset_catalog_omvs.py +78 -21
  150. pyegeria/automated_curation_omvs.py +11 -6
  151. pyegeria/classification_manager_omvs.py +41 -37
  152. pyegeria/collection_manager_omvs.py +722 -705
  153. pyegeria/core_omag_server_config.py +1 -1
  154. pyegeria/create_tech_guid_lists.py +13 -13
  155. pyegeria/data_designer_omvs.py +5104 -0
  156. pyegeria/dr.egeria spec.md +9 -0
  157. pyegeria/egeria_cat_client.py +5 -8
  158. pyegeria/egeria_client.py +39 -24
  159. pyegeria/egeria_config_client.py +2 -1
  160. pyegeria/egeria_my_client.py +4 -4
  161. pyegeria/egeria_tech_client.py +40 -18
  162. pyegeria/feedback_manager_omvs.py +1 -1
  163. pyegeria/full_omag_server_config.py +5 -3
  164. pyegeria/glossary_browser_omvs.py +1915 -694
  165. pyegeria/glossary_manager_omvs.py +685 -1842
  166. pyegeria/m_test.py +118 -0
  167. pyegeria/md_processing_helpers.py +58 -0
  168. pyegeria/md_processing_utils.py +2147 -0
  169. pyegeria/md_processing_utils_orig.py +1103 -0
  170. pyegeria/mermaid_utilities.py +1194 -14
  171. pyegeria/metadata_explorer_omvs.py +5 -50
  172. pyegeria/my_profile_omvs.py +3 -2
  173. pyegeria/output_formatter.py +389 -0
  174. pyegeria/platform_services.py +5 -5
  175. pyegeria/project_manager_omvs.py +97 -18
  176. pyegeria/runtime_manager_omvs.py +8 -10
  177. pyegeria/server_operations.py +2 -2
  178. pyegeria/solution_architect_omvs.py +2156 -0
  179. pyegeria/template_manager_omvs.py +13 -13
  180. pyegeria/utils.py +3 -1
  181. pyegeria/valid_metadata_omvs.py +5 -4
  182. pyegeria/x_action_author_omvs.py +3 -6
  183. {pyegeria-5.2.1.1.dist-info → pyegeria-5.3.dist-info}/METADATA +9 -8
  184. pyegeria-5.3.dist-info/RECORD +196 -0
  185. {pyegeria-5.2.1.1.dist-info → pyegeria-5.3.dist-info}/WHEEL +1 -1
  186. pyegeria-5.3.dist-info/entry_points.txt +99 -0
  187. pyegeria/commands/README.md +0 -47
  188. pyegeria/commands/__init__.py +0 -22
  189. pyegeria/commands/cat/__init__.py +0 -1
  190. pyegeria/commands/doc/README.md +0 -145
  191. pyegeria/commands/doc/Visual Command Reference/README.md +0 -511
  192. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
  193. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
  194. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
  195. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
  196. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
  197. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
  198. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
  199. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
  200. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
  201. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
  202. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
  203. pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
  204. pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
  205. pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
  206. pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
  207. pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
  208. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
  209. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
  210. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
  211. pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
  212. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
  213. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
  214. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
  215. pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
  216. pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
  217. pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
  218. pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
  219. pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
  220. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
  221. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
  222. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
  223. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
  224. pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
  225. pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
  226. pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
  227. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
  228. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
  229. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
  230. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
  231. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
  232. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
  233. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
  234. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
  235. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
  236. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
  237. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
  238. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
  239. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
  240. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
  241. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
  242. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
  243. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
  244. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
  245. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
  246. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
  247. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
  248. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
  249. pyegeria/commands/doc/glossary/basic-glossary-tui.md +0 -109
  250. pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
  251. pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
  252. pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
  253. pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
  254. pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  255. pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
  256. pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
  257. pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
  258. pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
  259. pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
  260. pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  261. pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
  262. pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
  263. pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
  264. pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
  265. pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
  266. pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
  267. pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
  268. pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
  269. pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
  270. pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  271. pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
  272. pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
  273. pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
  274. pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
  275. pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
  276. pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
  277. pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
  278. pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
  279. pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
  280. pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
  281. pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
  282. pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
  283. pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
  284. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -346
  285. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
  286. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
  287. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
  288. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
  289. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
  290. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-list 2024-11-12 at 16.45.26.png +0 -0
  291. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-live 2024-11-12 at 16.44.12@2x.png +0 -0
  292. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
  293. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status-full 2024-11-10 at 18.25.14@2x.png +0 -0
  294. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
  295. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
  296. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
  297. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
  298. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status 2024-11-10 at 18.52.01@2x.png +0 -0
  299. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
  300. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-status-paging 2024-11-12 at 16.26.14@2x.png +0 -0
  301. pyegeria/commands/ops/__init__.py +0 -22
  302. pyegeria/commands/tech/__init__.py +0 -0
  303. pyegeria-5.2.1.1.dist-info/RECORD +0 -231
  304. pyegeria-5.2.1.1.dist-info/entry_points.txt +0 -81
  305. {pyegeria/commands → commands}/cat/README.md +0 -0
  306. {pyegeria/commands → commands}/my/README.md +0 -0
  307. {pyegeria/commands → commands}/ops/README.md +0 -0
  308. {pyegeria/commands → commands}/ops/x_engine_actions.py +0 -0
  309. {pyegeria/commands → commands}/tech/README.md +0 -0
  310. /pyegeria/commands/my/__init__.py → /md_processing/dr_egeria_inbox/t1.md +0 -0
  311. {pyegeria-5.2.1.1.dist-info → pyegeria-5.3.dist-info}/LICENSE +0 -0
@@ -0,0 +1,19 @@
1
+ .uprompt {
2
+ width: auto;
3
+ height: auto;
4
+ }
5
+ .uimput {
6
+ border: solid white;
7
+ height: auto;
8
+ width: auto;
9
+ }
10
+ .DataTable {
11
+ color: black
12
+ }
13
+ .DataTable.Row {
14
+ width: 20%;
15
+ height: auto;
16
+ }
17
+ #table {
18
+ color: black
19
+ }
@@ -0,0 +1,22 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ """
6
+ from pyegeria import (
7
+ INTEGRATION_GUIDS,
8
+ TEMPLATE_GUIDS,
9
+ default_time_out,
10
+ disable_ssl_warnings,
11
+ enable_ssl_check,
12
+ is_debug,
13
+ max_paging_size,
14
+ NO_ELEMENTS_FOUND,
15
+ NO_ASSETS_FOUND,
16
+ NO_SERVERS_FOUND,
17
+ NO_CATALOGS_FOUND,
18
+ NO_GLOSSARIES_FOUND,
19
+ NO_TERMS_FOUND,
20
+ NO_CATEGORIES_FOUND,
21
+ NO_ELEMENT_FOUND,
22
+ )
@@ -3,22 +3,20 @@
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
5
5
 
6
- Unit tests for the Utils helper functions using the Pytest framework.
7
-
8
6
 
9
7
  A simple display for my profile
10
8
  """
11
- import os
12
9
  import argparse
13
- import time
10
+ import os
14
11
  import sys
12
+ import time
15
13
 
16
14
  from rich import box, print
17
15
  from rich.console import Console
16
+ from rich.markdown import Markdown
17
+ from rich.panel import Panel
18
18
  from rich.table import Table
19
19
  from rich.tree import Tree
20
- from rich.panel import Panel
21
- from rich.markdown import Markdown
22
20
 
23
21
  from pyegeria import (
24
22
  InvalidParameterException,
@@ -32,11 +30,11 @@ disable_ssl_warnings = True
32
30
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
33
31
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
34
32
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
35
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
33
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
36
34
  EGERIA_VIEW_SERVER_URL = os.environ.get(
37
35
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
38
36
  )
39
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
37
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
40
38
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
41
39
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
42
40
  )
@@ -8,10 +8,10 @@ Unit tests for the Utils helper functions using the Pytest framework.
8
8
 
9
9
  List the roles for a given user.
10
10
  """
11
- import os
12
11
  import argparse
13
- import time
12
+ import os
14
13
  import sys
14
+ import time
15
15
 
16
16
  from rich import box
17
17
  from rich.console import Console
@@ -29,11 +29,11 @@ disable_ssl_warnings = True
29
29
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
30
30
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
31
31
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
32
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
32
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
33
33
  EGERIA_VIEW_SERVER_URL = os.environ.get(
34
34
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
35
35
  )
36
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
36
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
37
37
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
38
38
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
39
39
  )
@@ -8,15 +8,15 @@ Unit tests for the Utils helper functions using the Pytest framework.
8
8
 
9
9
  A simple status display of a user's todos
10
10
  """
11
- import os
12
11
  import argparse
12
+ import os
13
13
  import time
14
14
 
15
15
  from rich import box
16
+ from rich.console import Console
16
17
  from rich.live import Live
17
18
  from rich.markdown import Markdown
18
19
  from rich.table import Table
19
- from rich.console import Console
20
20
 
21
21
  from pyegeria import (
22
22
  InvalidParameterException,
@@ -29,11 +29,11 @@ from pyegeria.my_profile_omvs import MyProfile
29
29
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
30
30
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
31
31
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
32
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
32
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
33
33
  EGERIA_VIEW_SERVER_URL = os.environ.get(
34
34
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
35
35
  )
36
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
36
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
37
37
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
38
38
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
39
39
  )
@@ -66,7 +66,7 @@ def display_my_todos(
66
66
  return
67
67
 
68
68
  for item in todo_items:
69
- assigned_actors = ''
69
+ assigned_actors = ""
70
70
  if todo_items is None:
71
71
  name = " "
72
72
  type_name = " "
@@ -89,7 +89,7 @@ def display_my_todos(
89
89
  status = props.get("toDoStatus")
90
90
 
91
91
  for actor in item["assignedActors"]:
92
- assigned_actors+=f"{actor.get("uniqueName", "NoOne")}\n"
92
+ assigned_actors += f"{actor.get("uniqueName", "NoOne")}\n"
93
93
  assigned_actors_out = Markdown(assigned_actors)
94
94
  if status in ("WAITING", "OPEN"):
95
95
  status = f"[yellow]{status}"
@@ -159,7 +159,7 @@ def display_my_todos(
159
159
  role_id = role["properties"].get("roleId", "No Role Id")
160
160
  add_rows(table, role_guid, role_id)
161
161
 
162
- # m_client.close_session()
162
+ token = m_client.refresh_egeria_bearer_token()
163
163
  return table
164
164
 
165
165
  try:
@@ -8,15 +8,16 @@ Unit tests for the Utils helper functions using the Pytest framework.
8
8
 
9
9
  A simple status display for Open To Dos
10
10
  """
11
- import os
12
11
  import argparse
13
- import time
12
+ import os
14
13
  import sys
14
+ import time
15
+
15
16
  from rich import box
17
+ from rich.console import Console
16
18
  from rich.live import Live
17
19
  from rich.markdown import Markdown
18
20
  from rich.table import Table
19
- from rich.console import Console
20
21
 
21
22
  from pyegeria import EgeriaTech
22
23
  from pyegeria._exceptions import (
@@ -25,7 +26,6 @@ from pyegeria._exceptions import (
25
26
  UserNotAuthorizedException,
26
27
  print_exception_response,
27
28
  )
28
-
29
29
  from pyegeria.my_profile_omvs import MyProfile
30
30
 
31
31
  disable_ssl_warnings = True
@@ -33,11 +33,11 @@ disable_ssl_warnings = True
33
33
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
34
34
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
35
35
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
36
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
36
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
37
37
  EGERIA_VIEW_SERVER_URL = os.environ.get(
38
38
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
39
39
  )
40
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
40
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
41
41
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
42
42
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
43
43
  )
@@ -134,7 +134,7 @@ def display_todos(
134
134
  status,
135
135
  assigned_out,
136
136
  )
137
-
137
+ token = m_client.refresh_egeria_bearer_token()
138
138
  return table
139
139
 
140
140
  try:
@@ -7,6 +7,7 @@ Copyright Contributors to the ODPi Egeria project.
7
7
  Execute ToDo actions.
8
8
 
9
9
  """
10
+
10
11
  import os
11
12
  import time
12
13
  from datetime import datetime
@@ -27,11 +28,11 @@ tanya_guid = "a987c2d2-c8b6-4882-b344-c47956d2de97"
27
28
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
28
29
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
29
30
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
30
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
31
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
31
32
  EGERIA_VIEW_SERVER_URL = os.environ.get(
32
33
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
33
34
  )
34
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
35
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
35
36
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
36
37
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
37
38
  )
@@ -0,0 +1,23 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+
6
+ """
7
+ from pyegeria import (
8
+ INTEGRATION_GUIDS,
9
+ TEMPLATE_GUIDS,
10
+ default_time_out,
11
+ disable_ssl_warnings,
12
+ enable_ssl_check,
13
+ is_debug,
14
+ max_paging_size,
15
+ NO_ELEMENTS_FOUND,
16
+ NO_ASSETS_FOUND,
17
+ NO_SERVERS_FOUND,
18
+ NO_CATALOGS_FOUND,
19
+ NO_GLOSSARIES_FOUND,
20
+ NO_TERMS_FOUND,
21
+ NO_CATEGORIES_FOUND,
22
+ NO_ELEMENT_FOUND,
23
+ )
@@ -9,11 +9,12 @@ This script restarts an integration daemon.
9
9
  """
10
10
 
11
11
  import os
12
+
13
+ import click
12
14
  from rich import print, print_json
13
15
  from rich.console import Console
14
16
 
15
- import click
16
- from pyegeria import EgeriaTech, AutomatedCuration, INTEGRATION_GUIDS
17
+ from pyegeria import INTEGRATION_GUIDS, AutomatedCuration, EgeriaTech
17
18
  from pyegeria._exceptions import (
18
19
  InvalidParameterException,
19
20
  PropertyServerException,
@@ -62,7 +63,7 @@ def add_catalog_target(
62
63
  @click.argument("relationship-guid")
63
64
  @click.pass_context
64
65
  def remove_catalog_target(ctx, relationship_guid: str):
65
- """Remove the catalog target specified by the relationship guidr"""
66
+ """Remove the catalog target specified by the relationship guid"""
66
67
  try:
67
68
  c = ctx.obj
68
69
  a_client = AutomatedCuration(
@@ -128,7 +129,7 @@ def refresh_gov_eng_config(ctx, engine_host_guid: str):
128
129
 
129
130
  @click.command("start")
130
131
  @click.pass_context
131
- @click.option("--server", default="simple-metadata-store", help="OMAG Server to start")
132
+ @click.option("--server", default="qs-metadata-store", help="OMAG Server to start")
132
133
  def start_server(ctx, server):
133
134
  """Start or restart an engine-host from its known configuration"""
134
135
  c = ctx.obj
@@ -10,32 +10,33 @@ Unit tests for the Utils helper functions using the Pytest framework.
10
10
  A simple display for archives
11
11
  """
12
12
  import argparse
13
+ import datetime
13
14
  import json
14
15
  import os
15
- import time, datetime
16
+ import time
16
17
 
17
- from rich import box
18
- from rich import print
18
+ from rich import box, print
19
19
  from rich.console import Console
20
20
  from rich.prompt import Prompt
21
21
  from rich.table import Table
22
22
 
23
23
  from pyegeria import (
24
+ ClassificationManager,
24
25
  InvalidParameterException,
26
+ ProjectManager,
25
27
  PropertyServerException,
26
28
  UserNotAuthorizedException,
27
29
  print_exception_response,
28
30
  )
29
- from pyegeria import ProjectManager, ClassificationManager
30
31
 
31
32
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
32
33
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
33
34
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
34
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
35
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
35
36
  EGERIA_VIEW_SERVER_URL = os.environ.get(
36
37
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
37
38
  )
38
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
39
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
39
40
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
40
41
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
41
42
  )
@@ -19,22 +19,22 @@ from rich.prompt import Prompt
19
19
  from rich.table import Table
20
20
 
21
21
  from pyegeria import (
22
+ INTEGRATION_GUIDS,
23
+ AutomatedCuration,
22
24
  InvalidParameterException,
23
25
  PropertyServerException,
24
26
  UserNotAuthorizedException,
25
27
  print_exception_response,
26
- AutomatedCuration,
27
- INTEGRATION_GUIDS,
28
28
  )
29
29
 
30
30
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
31
31
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
32
32
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
33
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
33
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
34
34
  EGERIA_VIEW_SERVER_URL = os.environ.get(
35
35
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
36
36
  )
37
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
37
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
38
38
  EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
39
39
  EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
40
40
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
@@ -9,7 +9,9 @@ This script refreshed an integration daemon.
9
9
  """
10
10
 
11
11
  import os
12
+
12
13
  import click
14
+
13
15
  from pyegeria import AutomatedCuration, EgeriaTech
14
16
  from pyegeria._exceptions import (
15
17
  InvalidParameterException,
@@ -21,11 +23,11 @@ from pyegeria._exceptions import (
21
23
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
22
24
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
23
25
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
24
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
26
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
25
27
  EGERIA_VIEW_SERVER_URL = os.environ.get(
26
28
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
27
29
  )
28
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
30
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
29
31
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
30
32
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
31
33
  )
@@ -5,26 +5,27 @@ Copyright Contributors to the ODPi Egeria project.
5
5
 
6
6
  Display the status of cataloged platforms and servers.
7
7
  """
8
+ import argparse
8
9
  import json
9
10
  import os
10
11
  import time
11
- import argparse
12
12
  from datetime import datetime
13
- from rich.prompt import Prompt
14
- from rich.table import Table
15
- from rich.live import Live
13
+
14
+ from confluent_kafka import Consumer, KafkaException
16
15
  from rich.console import Console
16
+ from rich.live import Live
17
17
  from rich.markdown import Markdown
18
- from confluent_kafka import Consumer, KafkaException
18
+ from rich.prompt import Prompt
19
+ from rich.table import Table
19
20
 
20
21
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
21
22
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9192")
22
23
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
23
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
24
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
24
25
  EGERIA_VIEW_SERVER_URL = os.environ.get(
25
26
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
26
27
  )
27
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
28
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
28
29
  EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
29
30
  EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
30
31
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
@@ -20,8 +20,8 @@ from rich.console import Console
20
20
  from rich.live import Live
21
21
  from rich.table import Table
22
22
 
23
- from pyegeria import AutomatedCuration
24
23
  from pyegeria import (
24
+ AutomatedCuration,
25
25
  InvalidParameterException,
26
26
  PropertyServerException,
27
27
  UserNotAuthorizedException,
@@ -31,7 +31,7 @@ from pyegeria import (
31
31
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
32
32
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
33
33
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
34
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
34
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
35
35
  EGERIA_VIEW_SERVER_URL = os.environ.get(
36
36
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
37
37
  )
@@ -39,7 +39,7 @@ EGERIA_ENGINE_HOST = os.environ.get("INTEGRATION_ENGINE_HOST", "engine-host")
39
39
  EGERIA_ENGINE_HOST_URL = os.environ.get(
40
40
  "INTEGRATION_ENGINE_HOST_URL", "https://localhost:9443"
41
41
  )
42
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
42
+ EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
43
43
  EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
44
44
  EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
45
45
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
@@ -82,6 +82,7 @@ def display_engine_activity(
82
82
  The width of the console for table printing.
83
83
  """
84
84
  g_client = AutomatedCuration(view_server, view_url, user, user_pwd=user_pass)
85
+ token = g_client.create_egeria_bearer_token()
85
86
 
86
87
  def generate_table() -> Table:
87
88
  """Make a new table."""
@@ -108,7 +109,6 @@ def display_engine_activity(
108
109
  table.add_column("Process Name")
109
110
  table.add_column("Completion Message")
110
111
 
111
- token = g_client.create_egeria_bearer_token()
112
112
  action_status = g_client.get_engine_actions()
113
113
 
114
114
  if type(action_status) is str:
@@ -186,7 +186,7 @@ def display_engine_activity(
186
186
  else:
187
187
  print("Egeria integration daemon not running")
188
188
  sys.exit()
189
-
189
+ g_client.refresh_egeria_bearer_token()
190
190
  return table
191
191
 
192
192
  try:
@@ -21,8 +21,8 @@ from rich.live import Live
21
21
  from rich.markdown import Markdown
22
22
  from rich.table import Table
23
23
 
24
- from pyegeria import AutomatedCuration
25
24
  from pyegeria import (
25
+ AutomatedCuration,
26
26
  InvalidParameterException,
27
27
  PropertyServerException,
28
28
  UserNotAuthorizedException,
@@ -85,6 +85,7 @@ def display_engine_activity_c(
85
85
  The width of the console for table printing.
86
86
  """
87
87
  g_client = AutomatedCuration(view_server, view_url, user, user_pwd=user_pass)
88
+ token = g_client.create_egeria_bearer_token()
88
89
 
89
90
  def generate_table() -> Table:
90
91
  """Make a new table."""
@@ -109,7 +110,6 @@ def display_engine_activity_c(
109
110
  table.add_column("Core Results")
110
111
  # table.add_column("Completion Message")
111
112
 
112
- token = g_client.create_egeria_bearer_token()
113
113
  action_status = g_client.get_engine_actions()
114
114
 
115
115
  if type(action_status) is str:
@@ -203,7 +203,7 @@ def display_engine_activity_c(
203
203
  else:
204
204
  print("Egeria integration daemon not running")
205
205
  sys.exit()
206
-
206
+ g_client.refresh_egeria_bearer_token()
207
207
  return table
208
208
 
209
209
  try:
@@ -20,16 +20,16 @@ from rich.prompt import Prompt
20
20
  from rich.table import Table
21
21
 
22
22
  from pyegeria import (
23
+ EgeriaTech,
23
24
  InvalidParameterException,
24
25
  PropertyServerException,
25
26
  UserNotAuthorizedException,
26
- EgeriaTech,
27
27
  )
28
28
 
29
29
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
30
30
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
31
31
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
32
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
32
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
33
33
  EGERIA_VIEW_SERVER_URL = os.environ.get(
34
34
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
35
35
  )
@@ -165,6 +165,7 @@ def display_gov_eng_status(
165
165
 
166
166
  table.add_row(gov_eng, eng_type, eng_desc, eng_status, eng_req_type_out)
167
167
 
168
+ token = s_client.create_egeria_bearer_token()
168
169
  return table
169
170
 
170
171
  try:
@@ -11,17 +11,17 @@ A simple status display for the Integration Daemon.
11
11
  import argparse
12
12
  import os
13
13
  import time
14
+ from typing import Union
14
15
 
16
+ import nest_asyncio
15
17
  from rich import box
16
18
  from rich.console import Console
17
19
  from rich.live import Live
18
20
  from rich.prompt import Prompt
19
21
  from rich.table import Table
20
- import nest_asyncio
21
- from typing import Union
22
22
  from textual.widgets import DataTable
23
23
 
24
- from pyegeria import EgeriaTech, AutomatedCuration
24
+ from pyegeria import AutomatedCuration, EgeriaTech
25
25
  from pyegeria._exceptions import (
26
26
  InvalidParameterException,
27
27
  PropertyServerException,
@@ -32,32 +32,38 @@ from pyegeria._exceptions import (
32
32
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
33
33
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
34
34
  EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
35
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
35
+ EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
36
36
  EGERIA_VIEW_SERVER_URL = os.environ.get(
37
37
  "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
38
38
  )
39
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
39
+ EGERIA_INTEGRATION_DAEMON = os.environ.get(
40
+ "EGERIA_INTEGRATION_DAEMON", "integration-daemon"
41
+ )
40
42
  EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
41
43
  "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
42
44
  )
43
45
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
44
46
  EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
45
47
  EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
46
- EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
48
+ EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", 200))
47
49
 
48
50
  disable_ssl_warnings = True
49
51
 
50
52
 
51
53
  def display_integration_daemon_status(
52
54
  search_list: list[str] = ["*"],
53
- integ_server: str = EGERIA_INTEGRATION_DAEMON,
54
- integ_url: str = EGERIA_INTEGRATION_DAEMON_URL,
55
- view_server: str = EGERIA_VIEW_SERVER,
56
- view_url: str = EGERIA_VIEW_SERVER_URL,
57
- user: str = EGERIA_USER,
58
- user_pass: str = EGERIA_USER_PASSWORD,
55
+ integ_server: str = os.environ.get(
56
+ "EGERIA_INTEGRATION_DAEMON", "integration-daemon"
57
+ ),
58
+ integ_url: str = os.environ.get(
59
+ "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
60
+ ),
61
+ view_server: str = os.environ.get("EGERIA_VIEW_SERVER", "view-server"),
62
+ view_url: str = os.environ.get("EGERIA_VIEW_SERVER_URL", "https://localhost:9443"),
63
+ user: str = os.environ.get("EGERIA_USER"),
64
+ user_pass: str = os.environ.get("EGERIA_USER_PASSWORD"),
59
65
  paging: bool = False,
60
- jupyter: bool = EGERIA_JUPYTER,
66
+ jupyter: bool = os.environ.get("EGERIA_JUPYTER", "False"),
61
67
  width: int = EGERIA_WIDTH,
62
68
  sort: bool = True,
63
69
  ) -> None:
@@ -129,6 +135,8 @@ def display_integration_daemon_status(
129
135
  table.add_column("Exception Message", min_width=10)
130
136
 
131
137
  # server_guid = s_client.get_guid_for_name(integ_server)
138
+
139
+ token = s_client.refresh_egeria_bearer_token()
132
140
  daemon_status = s_client.get_server_report(None, integ_server)
133
141
 
134
142
  reports = daemon_status["integrationConnectorReports"]
@@ -150,7 +158,7 @@ def display_integration_daemon_status(
150
158
  connector_guid = connector.get("connectorGUID", "---")
151
159
  last_refresh_time = connector.get("lastRefreshTime", "---")[:-10]
152
160
  refresh_interval = str(connector.get("minMinutesBetweenRefresh", "---"))
153
- exception_msg = " "
161
+ exception_msg = connector.get("failingExceptionMessage", " ")
154
162
  if connector_guid != "---":
155
163
  targets = s_client.get_catalog_targets(connector_guid)
156
164
  tgt_tab = Table()
@@ -196,8 +204,8 @@ def display_integration_daemon_status(
196
204
  return table
197
205
 
198
206
  try:
207
+ console = Console(width=width) # main_pagig, force_terminal=not jupyter)
199
208
  if paging is True:
200
- console = Console(width=width) # main_pagig, force_terminal=not jupyter)
201
209
  with console.pager():
202
210
  console.print(generate_table(search_list))
203
211
  else: