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
@@ -4,7 +4,7 @@ SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
5
5
 
6
6
 
7
- A command line interface for Egeria Users - all commands
7
+ A object_action line interface for Egeria Users - all md_commands
8
8
 
9
9
  This is an emerging capability based on the **click** package. Feedback welcome!
10
10
 
@@ -15,105 +15,124 @@ import sys
15
15
  import click
16
16
  from trogon import tui
17
17
 
18
- from pyegeria.commands.cli.egeria_login_tui import login
19
- from pyegeria.commands.cat.get_asset_graph import asset_viewer
20
- from pyegeria.commands.cat.get_collection import collection_viewer
21
- from pyegeria.commands.cat.get_project_dependencies import project_dependency_viewer
22
- from pyegeria.commands.cat.get_project_structure import project_structure_viewer
23
- from pyegeria.commands.cat.get_tech_type_elements import tech_viewer
24
- from pyegeria.commands.cat.list_tech_type_elements import list_tech_elements
25
- from pyegeria.commands.cli.egeria_ops import show_server
26
- from pyegeria.commands.tech.get_tech_type_template import template_viewer
27
- from pyegeria.commands.cat.list_assets import display_assets
28
- from pyegeria.commands.cat.list_cert_types import display_certifications
29
- from pyegeria.commands.cat.list_terms import display_glossary_terms
30
- from pyegeria.commands.cat.list_projects import display_project_list
31
- from pyegeria.commands.tech.list_anchored_elements import display_anchored_elements
32
- from pyegeria.commands.tech.list_elements_x import list_elements_x
33
- from pyegeria.commands.tech.list_relationships import list_relationships
34
- from pyegeria.commands.cat.list_tech_types import display_tech_types
35
- from pyegeria.commands.cat.list_todos import display_to_dos as list_todos
36
- from pyegeria.commands.cat.list_user_ids import list_user_ids
37
- from pyegeria.commands.ops.list_archives import display_archive_list
38
- from pyegeria.commands.cat.list_servers_deployed_imp import display_servers_by_dep_imp
39
- from pyegeria.commands.cli.ops_config import Config
40
- from pyegeria.commands.my.list_my_profile import display_my_profile
41
- from pyegeria.commands.my.list_my_roles import display_my_roles
42
- from pyegeria.commands.my.monitor_my_todos import display_my_todos
43
- from pyegeria.commands.my.monitor_open_todos import display_todos
44
- from pyegeria.commands.cat.list_deployed_database_schemas import (
45
- list_deployed_database_schemas,
46
- )
47
- from pyegeria.commands.cat.list_collections import display_collections
48
- from pyegeria.commands.cat.list_deployed_catalogs import list_deployed_catalogs
49
- from pyegeria.commands.cat.list_deployed_databases import list_deployed_databases
50
- from pyegeria.commands.cat.glossary_actions import (
18
+ from commands.cat.get_asset_graph import asset_viewer
19
+ from commands.cat.get_collection import collection_viewer
20
+ from commands.cat.get_project_dependencies import project_dependency_viewer
21
+ from commands.cat.get_project_structure import project_structure_viewer
22
+ from commands.cat.get_tech_type_elements import tech_viewer
23
+ from commands.cat.glossary_actions import (
51
24
  create_glossary,
52
- delete_glossary,
53
25
  create_term,
54
- import_terms,
26
+ delete_glossary,
55
27
  delete_term,
56
- export_terms,
28
+ export_terms_csv,
29
+ import_terms_csv,
30
+ create_category,
31
+ update_category,
32
+ delete_category,
33
+ add_term_to_category,
34
+ remove_term_from_category
35
+ )
36
+
37
+ from commands.cat.list_categories import display_categories
38
+ from commands.cat.list_assets import display_assets
39
+ from commands.cat.list_cert_types import display_certifications
40
+ from commands.cat.list_collections import display_collections
41
+ from commands.cat.list_deployed_catalogs import list_deployed_catalogs
42
+ from commands.cat.list_deployed_database_schemas import (
43
+ list_deployed_database_schemas,
57
44
  )
58
- from pyegeria.commands.cat.list_glossaries import display_glossaries
59
-
60
- from pyegeria.commands.my.todo_actions import (
61
- mark_todo_complete,
45
+ from commands.cat.list_deployed_databases import list_deployed_databases
46
+ from commands.cat.list_glossaries import display_glossaries
47
+ from commands.cat.list_projects import display_project_list
48
+ from commands.cat.list_deployed_servers import display_servers_by_dep_imp
49
+ from commands.cat.list_tech_type_elements import list_tech_elements
50
+ from commands.cat.list_tech_types import display_tech_types
51
+ from commands.cat.list_terms import display_glossary_terms
52
+ from commands.cat.list_todos import display_to_dos as list_todos
53
+ from commands.cat.list_user_ids import list_user_ids
54
+
55
+ from commands.cat.dr_egeria_md import process_markdown_file
56
+
57
+ from commands.cli.ops_config import Config
58
+ from commands.my.list_my_profile import display_my_profile
59
+ from commands.my.list_my_roles import display_my_roles
60
+ from commands.my.monitor_my_todos import display_my_todos
61
+ from commands.my.monitor_open_todos import display_todos
62
+ from commands.my.todo_actions import (
62
63
  change_todo_status,
63
- reassign_todo,
64
- delete_todo,
65
64
  create_todo,
65
+ delete_todo,
66
+ mark_todo_complete,
67
+ reassign_todo,
66
68
  )
67
-
68
-
69
- from pyegeria.commands.ops.gov_server_actions import (
69
+ from commands.ops.gov_server_actions import (
70
70
  add_catalog_target,
71
- remove_catalog_target,
72
- update_catalog_target,
73
71
  refresh_gov_eng_config,
74
- stop_server,
72
+ remove_catalog_target,
75
73
  start_server,
74
+ stop_server,
75
+ update_catalog_target,
76
76
  )
77
- from pyegeria.commands.ops.list_catalog_targets import display_catalog_targets
78
- from pyegeria.commands.ops.load_archive import load_archive
79
- from pyegeria.commands.ops.monitor_engine_activity import display_engine_activity
80
- from pyegeria.commands.ops.monitor_engine_activity_c import display_engine_activity_c
81
- from pyegeria.commands.ops.monitor_gov_eng_status import display_gov_eng_status
82
- from pyegeria.commands.ops.monitor_integ_daemon_status import (
77
+ from commands.ops.list_archives import display_archive_list
78
+ from commands.ops.list_catalog_targets import display_catalog_targets
79
+ from commands.ops.load_archive import load_archive
80
+ from commands.ops.monitor_engine_activity import display_engine_activity
81
+ from commands.ops.monitor_engine_activity_c import display_engine_activity_c
82
+ from commands.ops.monitor_gov_eng_status import display_gov_eng_status
83
+ from commands.ops.monitor_integ_daemon_status import (
83
84
  display_integration_daemon_status,
84
85
  )
85
- from pyegeria.commands.ops.monitor_platform_status import (
86
+ from commands.ops.monitor_platform_status import (
86
87
  display_status as p_display_status,
87
88
  )
88
- from pyegeria.commands.ops.monitor_server_status import (
89
+ from commands.ops.monitor_server_startup import display_startup_status
90
+ from commands.ops.monitor_server_status import (
89
91
  display_status as s_display_status,
90
92
  )
91
- from pyegeria.commands.ops.refresh_integration_daemon import refresh_connector
92
- from pyegeria.commands.ops.restart_integration_daemon import restart_connector
93
- from pyegeria.commands.ops.monitor_server_startup import display_startup_status
94
-
95
- from pyegeria.commands.tech.get_element_info import display_elements
96
- from pyegeria.commands.tech.get_guid_info import display_guid
97
- from pyegeria.commands.tech.get_tech_details import tech_details_viewer
98
- from pyegeria.commands.tech.list_asset_types import display_asset_types
99
- from pyegeria.commands.tech.list_elements_for_classification import (
93
+ from commands.ops.refresh_integration_daemon import refresh_connector
94
+ from commands.ops.restart_integration_daemon import restart_connector
95
+ from commands.tech.get_element_info import display_elements
96
+ from commands.tech.get_guid_info import display_guid
97
+ from commands.tech.get_tech_details import tech_details_viewer
98
+ from commands.tech.get_tech_type_template import template_viewer
99
+ from commands.tech.list_all_om_type_elements import list_elements
100
+ from commands.tech.list_all_om_type_elements_x import list_elements_x
101
+ from commands.tech.list_all_related_elements import list_related_elements
102
+ from commands.tech.list_anchored_elements import display_anchored_elements
103
+ from commands.tech.list_asset_types import display_asset_types
104
+ from commands.tech.list_elements_by_classification_by_property_value import (
105
+ find_elements_by_classification_by_prop_value,
106
+ )
107
+ from commands.tech.list_elements_by_property_value import (
108
+ find_elements_by_prop_value,
109
+ )
110
+ from commands.tech.list_elements_by_property_value_x import (
111
+ find_elements_by_prop_value_x,
112
+ )
113
+ from commands.tech.list_elements_for_classification import (
100
114
  list_classified_elements,
101
115
  )
102
- from pyegeria.commands.tech.list_elements import list_elements
103
- from pyegeria.commands.tech.list_registered_services import display_registered_svcs
104
- from pyegeria.commands.tech.list_related_specification import (
116
+ from commands.tech.list_gov_action_processes import display_gov_processes
117
+ from commands.tech.list_information_supply_chains import supply_chain_viewer
118
+ from commands.tech.list_registered_services import display_registered_svcs
119
+ from commands.tech.list_related_elements_with_prop_value import (
120
+ list_related_elements_with_prop_value,
121
+ )
122
+ from commands.tech.list_related_specification import (
105
123
  display_related_specification,
106
124
  )
107
- from pyegeria.commands.tech.list_related_elements import list_related_elements
108
-
109
- from pyegeria.commands.tech.list_relationship_types import display_relationship_types
110
- from pyegeria.commands.tech.list_tech_templates import display_templates_spec
111
- from pyegeria.commands.tech.list_valid_metadata_values import display_metadata_values
112
- from pyegeria.commands.tech.list_gov_action_processes import display_gov_processes
113
-
125
+ from commands.tech.list_relationship_types import display_relationship_types
126
+ from commands.tech.list_relationships import list_relationships
127
+ from commands.tech.list_solution_blueprints import blueprint_list
128
+ from commands.tech.list_solution_components import solution_component_list
129
+ from commands.tech.list_solution_roles import solution_role_list
130
+ from commands.tech.list_tech_templates import display_templates_spec
131
+ from commands.tech.list_valid_metadata_values import display_metadata_values
132
+ from commands.tech.generic_actions import delete_element
114
133
 
115
134
  @tui()
116
- # @tui('menu', 'menu', 'A textual command line interface')
135
+ # @tui('menu', 'menu', 'A textual object_action line interface')
117
136
  @click.version_option("0.5.2 ", prog_name="hey_egeria")
118
137
  @click.group()
119
138
  @click.option(
@@ -128,7 +147,7 @@ from pyegeria.commands.tech.list_gov_action_processes import display_gov_process
128
147
  )
129
148
  @click.option(
130
149
  "--integration_daemon",
131
- default=os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon"),
150
+ default=os.environ.get("EGERIA_INTEGRATION_DAEMON", "qs-integration-daemon"),
132
151
  help="Egeria integration daemon to work with",
133
152
  )
134
153
  @click.option(
@@ -138,7 +157,7 @@ from pyegeria.commands.tech.list_gov_action_processes import display_gov_process
138
157
  )
139
158
  @click.option(
140
159
  "--view_server",
141
- default=os.environ.get("EGERIA_VIEW_SERVER", "view-server"),
160
+ default=os.environ.get("EGERIA_VIEW_SERVER", "qs-view-server"),
142
161
  help="Egeria view server to work with",
143
162
  )
144
163
  @click.option(
@@ -148,7 +167,7 @@ from pyegeria.commands.tech.list_gov_action_processes import display_gov_process
148
167
  )
149
168
  @click.option(
150
169
  "--engine_host",
151
- default=os.environ.get("EGERIA_ENGINE_HOST", "engine-host"),
170
+ default=os.environ.get("EGERIA_ENGINE_HOST", "qs-engine-host"),
152
171
  help="Egeria engine host to work with",
153
172
  )
154
173
  @click.option(
@@ -200,6 +219,24 @@ from pyegeria.commands.tech.list_gov_action_processes import display_gov_process
200
219
  default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
201
220
  help="Path to glossary import/export files",
202
221
  )
222
+
223
+ @click.option(
224
+ "--root_path",
225
+ default=os.environ.get("EGERIA_ROOT_PATH", "/home/jovyan"),
226
+ help="Root path to use for file operations",
227
+ )
228
+
229
+ @click.option(
230
+ "--inbox_path",
231
+ default=os.environ.get("EGERIA_INBOX_PATH", "loading-bay/dr_egeria_inbox"),
232
+ help="Path to outbox files",
233
+ )
234
+ @click.option(
235
+ "--outbox_path",
236
+ default=os.environ.get("EGERIA_OUTBOX_PATH", "distribution-hub/dr_egeria_outbox"),
237
+ help="Path to outbox files",
238
+ )
239
+
203
240
  @click.pass_context
204
241
  def cli(
205
242
  ctx,
@@ -220,6 +257,9 @@ def cli(
220
257
  width,
221
258
  home_glossary_guid,
222
259
  glossary_path,
260
+ root_path,
261
+ inbox_path,
262
+ outbox_path,
223
263
  ):
224
264
  """An Egeria Command Line interface for Operations"""
225
265
  ctx.obj = Config(
@@ -240,6 +280,9 @@ def cli(
240
280
  width,
241
281
  home_glossary_guid,
242
282
  glossary_path,
283
+ root_path,
284
+ inbox_path,
285
+ outbox_path
243
286
  )
244
287
  ctx.max_content_width = 250
245
288
  ctx.ensure_object(Config)
@@ -329,6 +372,7 @@ my_tell.add_command(mark_todo_complete)
329
372
  my_tell.add_command(reassign_todo)
330
373
 
331
374
 
375
+
332
376
  #
333
377
  # tech User: Show
334
378
  #
@@ -338,6 +382,14 @@ def tech(ctx):
338
382
  """Commands for tech Users"""
339
383
  pass
340
384
 
385
+ @tech.group("tell")
386
+ @click.pass_context
387
+ def tech_tell(ctx):
388
+ """Perform actions on Egeria Objects"""
389
+ pass
390
+
391
+
392
+ tech_tell.add_command(delete_element)
341
393
 
342
394
  @tech.group("show")
343
395
  @click.pass_context
@@ -366,6 +418,12 @@ def show_elements(ctx):
366
418
  """Show information about Egeria elements"""
367
419
 
368
420
 
421
+ @show_tech.group("supply-chains")
422
+ @click.pass_context
423
+ def show_supply_chains(ctx):
424
+ """Show information about Information Supply Chainss"""
425
+
426
+
369
427
  @show_elements.command("guid-info")
370
428
  @click.argument("guid", nargs=1)
371
429
  @click.pass_context
@@ -382,7 +440,7 @@ def show_guid_info(ctx, guid):
382
440
  @show_elements.command("anchored_elements")
383
441
  @click.pass_context
384
442
  @click.option(
385
- "--search-string",
443
+ "--property_value",
386
444
  default="DeployedDatabaseSchema",
387
445
  help="value we are searching for",
388
446
  )
@@ -391,8 +449,8 @@ def show_guid_info(ctx, guid):
391
449
  default="anchorTypeName",
392
450
  help="List of properties we are searching",
393
451
  )
394
- def list_anchored_elements(ctx, search_string: str, prop_list: str):
395
- """List elements with the specified properties"""
452
+ def list_anchored_elements(ctx, property_value: str, prop_list: str):
453
+ """List anchored elements with the specified properties"""
396
454
  c = ctx.obj
397
455
  if type(prop_list) is str:
398
456
  property_names = prop_list.split(",")
@@ -403,8 +461,8 @@ def list_anchored_elements(ctx, search_string: str, prop_list: str):
403
461
  print(f"\nError --> Invalid property list - must be a string or list")
404
462
  sys.exit(4)
405
463
  display_anchored_elements(
406
- search_string,
407
- [prop_list],
464
+ property_value,
465
+ [property_names],
408
466
  c.view_server,
409
467
  c.view_server_url,
410
468
  c.userid,
@@ -415,6 +473,200 @@ def list_anchored_elements(ctx, search_string: str, prop_list: str):
415
473
  )
416
474
 
417
475
 
476
+ @show_elements.command("elements-by-classification")
477
+ @click.option(
478
+ "--om-type",
479
+ default="Referenceable",
480
+ help="Open Metadata type to filter by",
481
+ )
482
+ @click.option(
483
+ "--classification",
484
+ default="GovernanceProject",
485
+ help="Classification to filter byt",
486
+ )
487
+ @click.pass_context
488
+ def show_elements_by_classification(ctx, om_type, classification):
489
+ """Show elements by classification"""
490
+ c = ctx.obj
491
+ list_classified_elements(
492
+ om_type,
493
+ classification,
494
+ c.view_server,
495
+ c.view_server_url,
496
+ c.userid,
497
+ c.password,
498
+ c.jupyter,
499
+ c.width,
500
+ )
501
+
502
+
503
+ @show_elements.command("elements-by-classification-by-prop-value")
504
+ @click.option(
505
+ "--classification",
506
+ default="GovernanceProject",
507
+ help="Classification to filter by",
508
+ )
509
+ @click.option(
510
+ "--property_value",
511
+ help="Property value to filter by",
512
+ )
513
+ @click.option(
514
+ "--property_names",
515
+ help="List of properties to search by",
516
+ )
517
+ @click.option(
518
+ "--om-type",
519
+ default="Referenceable",
520
+ help="Open Metadata type to filter by",
521
+ )
522
+ @click.pass_context
523
+ def show_elements_by_classification_by_prop(
524
+ ctx, classification, property_value, property_names, om_type
525
+ ):
526
+ """Show elements by classification and property value"""
527
+ c = ctx.obj
528
+ find_elements_by_classification_by_prop_value(
529
+ om_type,
530
+ classification,
531
+ property_value,
532
+ [property_names],
533
+ c.view_server,
534
+ c.view_server_url,
535
+ c.userid,
536
+ c.password,
537
+ c.jupyter,
538
+ c.width,
539
+ )
540
+
541
+
542
+ @show_elements.command("elements-by-prop-value")
543
+ @click.option(
544
+ "--property_value",
545
+ help="Property value to filter by",
546
+ )
547
+ @click.option(
548
+ "--property_names",
549
+ help="List of properties to search by",
550
+ )
551
+ @click.option(
552
+ "--om-type",
553
+ default="Referenceable",
554
+ help="Open Metadata type to filter by",
555
+ )
556
+ @click.option(
557
+ "--extended",
558
+ is_flag=True,
559
+ default=False,
560
+ help="If True, feedback information is displayed",
561
+ )
562
+ @click.pass_context
563
+ def show_elements_by_classification_by_prop(
564
+ ctx, property_value, property_names, om_type, extended
565
+ ):
566
+ """Show elements by classification and property value"""
567
+ c = ctx.obj
568
+ if extended:
569
+ find_elements_by_prop_value_x(
570
+ om_type,
571
+ property_value,
572
+ [property_names],
573
+ c.view_server,
574
+ c.view_server_url,
575
+ c.userid,
576
+ c.password,
577
+ c.jupyter,
578
+ c.width,
579
+ )
580
+ else:
581
+ find_elements_by_prop_value(
582
+ om_type,
583
+ property_value,
584
+ [property_names],
585
+ c.view_server,
586
+ c.view_server_url,
587
+ c.userid,
588
+ c.password,
589
+ c.jupyter,
590
+ c.width,
591
+ )
592
+
593
+
594
+ @show_elements.command("related-elements")
595
+ @click.option(
596
+ "--element-guid",
597
+ help="GUID of the Element to navigate from.",
598
+ )
599
+ @click.option(
600
+ "--om-type",
601
+ default="Referenceable",
602
+ help="Open metadata type to filter by.",
603
+ )
604
+ @click.option(
605
+ "--rel-type",
606
+ default="Certification",
607
+ help="Relationship type to follow.",
608
+ )
609
+ @click.pass_context
610
+ def show_related_elements(ctx, element_guid, om_type, rel_type):
611
+ """Show all elements related to specified guid"""
612
+ c = ctx.obj
613
+ list_related_elements(
614
+ element_guid,
615
+ om_type,
616
+ rel_type,
617
+ c.view_server,
618
+ c.view_server_url,
619
+ c.userid,
620
+ c.password,
621
+ c.jupyter,
622
+ c.width,
623
+ )
624
+
625
+
626
+ @show_elements.command("related-elements_by_prop")
627
+ @click.option(
628
+ "--element-guid",
629
+ help="GUID of the Element to navigate from.",
630
+ )
631
+ @click.option(
632
+ "--rel-type",
633
+ default="Certification",
634
+ help="Relationship type to follow.",
635
+ )
636
+ @click.option(
637
+ "--property_value",
638
+ help="Property value to filter by",
639
+ )
640
+ @click.option(
641
+ "--property_names",
642
+ help="List of properties to search by",
643
+ )
644
+ @click.option(
645
+ "--om-type",
646
+ default="Referenceable",
647
+ help="Open metadata type to filter by.",
648
+ )
649
+ @click.pass_context
650
+ def show_related_elements(
651
+ ctx, element_guid, rel_type, property_value, property_names, om_type
652
+ ):
653
+ """Show elements related to specified guid and property value"""
654
+ c = ctx.obj
655
+ list_related_elements_with_prop_value(
656
+ element_guid,
657
+ rel_type,
658
+ property_value,
659
+ [property_names],
660
+ om_type,
661
+ c.view_server,
662
+ c.view_server_url,
663
+ c.userid,
664
+ c.password,
665
+ c.jupyter,
666
+ c.width,
667
+ )
668
+
669
+
418
670
  @show_elements.command("related-specifications")
419
671
  @click.pass_context
420
672
  @click.argument("element-guid")
@@ -534,7 +786,7 @@ def show_registered_services(ctx, services):
534
786
  @show_tech_info.command("relationship-types")
535
787
  @click.option(
536
788
  "--om-type",
537
- default="AssetOwner",
789
+ default="Referenceable",
538
790
  help="Relationship type to get information about",
539
791
  )
540
792
  @click.pass_context
@@ -553,65 +805,6 @@ def show_relationship_types(ctx, om_type):
553
805
  )
554
806
 
555
807
 
556
- @show_elements.command("elements-by-classification")
557
- @click.option(
558
- "--om-type",
559
- default="Project",
560
- help="Open Metadata type to filter by",
561
- )
562
- @click.option(
563
- "--classification",
564
- default="GovernanceProject",
565
- help="Classification to filter byt",
566
- )
567
- @click.pass_context
568
- def show_elements_by_classification(ctx, om_type, classification):
569
- """Show elements by classification"""
570
- c = ctx.obj
571
- list_classified_elements(
572
- om_type,
573
- classification,
574
- c.view_server,
575
- c.view_server_url,
576
- c.userid,
577
- c.password,
578
- c.jupyter,
579
- c.width,
580
- )
581
-
582
-
583
- @show_elements.command("related-elements")
584
- @click.option(
585
- "--element-guid",
586
- help="GUID of the Element to navigate from.",
587
- )
588
- @click.option(
589
- "--om-type",
590
- default="Project",
591
- help="Open metadata type to filter by.",
592
- )
593
- @click.option(
594
- "--rel-type",
595
- default="Certification",
596
- help="Relationship type to follow.",
597
- )
598
- @click.pass_context
599
- def show_related_elements(ctx, element_guid, om_type, rel_type):
600
- """Show elements related to specified guid"""
601
- c = ctx.obj
602
- list_related_elements(
603
- element_guid,
604
- om_type,
605
- rel_type,
606
- c.view_server,
607
- c.view_server_url,
608
- c.userid,
609
- c.password,
610
- c.jupyter,
611
- c.width,
612
- )
613
-
614
-
615
808
  @show_tech_type.command("template-spec")
616
809
  @click.pass_context
617
810
  @click.option(
@@ -698,9 +891,9 @@ def valid_metadata_values(ctx, property, type_name):
698
891
  default=False,
699
892
  help="If True, feedback information is displayed",
700
893
  )
701
- @click.option("--om_type", default="Organization", help="Metadata type to query")
702
- def list_element_info(ctx, om_type, extended):
703
- """Display elements of a specific Open Metadata Type"""
894
+ @click.option("--om_type", default="Referenceable", help="Metadata type to query")
895
+ def list_all_om_type_elements(ctx, om_type, extended):
896
+ """Display all elements of a specific Open Metadata Type"""
704
897
  c = ctx.obj
705
898
  if extended:
706
899
  list_elements_x(
@@ -742,7 +935,7 @@ def list_element_info(ctx):
742
935
 
743
936
  @show_elements.command("get-elements")
744
937
  @click.pass_context
745
- @click.option("--om_type", default="Project", help="Metadata type to query")
938
+ @click.option("--om_type", default="Referenceable", help="Metadata type to query")
746
939
  def get_element_info(ctx, om_type):
747
940
  """Display a table of elements of an Open Metadata Type"""
748
941
  c = ctx.obj
@@ -757,6 +950,74 @@ def get_element_info(ctx, om_type):
757
950
  )
758
951
 
759
952
 
953
+ @show_supply_chains.command("supply-chains")
954
+ @click.option("--search-string", default="*", help="Search string")
955
+ @click.pass_context
956
+ def list_supply_chains(ctx, search_string):
957
+ """Display supply chains"""
958
+ c = ctx.obj
959
+ supply_chain_viewer(
960
+ search_string,
961
+ c.view_server,
962
+ c.view_server_url,
963
+ c.userid,
964
+ c.password,
965
+ c.jupyter,
966
+ c.width,
967
+ )
968
+
969
+
970
+ @show_supply_chains.command("blueprints")
971
+ @click.option("--search-string", default="*", help="Search string")
972
+ @click.pass_context
973
+ def list_blueprints(ctx, search_string):
974
+ """Display solution blueprints"""
975
+ c = ctx.obj
976
+ blueprint_list(
977
+ search_string,
978
+ c.view_server,
979
+ c.view_server_url,
980
+ c.userid,
981
+ c.password,
982
+ c.jupyter,
983
+ c.width,
984
+ )
985
+
986
+
987
+ @show_supply_chains.command("solution-roles")
988
+ @click.option("--search-string", default="*", help="Search string")
989
+ @click.pass_context
990
+ def list_solution_roles(ctx, search_string):
991
+ """Display solution roles"""
992
+ c = ctx.obj
993
+ solution_role_list(
994
+ search_string,
995
+ c.view_server,
996
+ c.view_server_url,
997
+ c.userid,
998
+ c.password,
999
+ c.jupyter,
1000
+ c.width,
1001
+ )
1002
+
1003
+
1004
+ @show_supply_chains.command("solution-components")
1005
+ @click.option("--search-string", default="*", help="Search string")
1006
+ @click.pass_context
1007
+ def list_solution_components(ctx, search_string):
1008
+ """Display solution componentss"""
1009
+ c = ctx.obj
1010
+ solution_component_list(
1011
+ search_string,
1012
+ c.view_server,
1013
+ c.view_server_url,
1014
+ c.userid,
1015
+ c.password,
1016
+ c.jupyter,
1017
+ c.width,
1018
+ )
1019
+
1020
+
760
1021
  #
761
1022
  # Catalog User: Show
762
1023
  #
@@ -779,7 +1040,7 @@ def show_cat(ctx):
779
1040
  @show_cat.group("info")
780
1041
  @click.pass_context
781
1042
  def show_cat_info(ctx):
782
- """Group of commands to show information about various Egeria objects"""
1043
+ """Group of md_commands to show information about various Egeria objects"""
783
1044
  pass
784
1045
 
785
1046
 
@@ -856,7 +1117,7 @@ def show_asset_graph(ctx, asset_guid):
856
1117
 
857
1118
  Usage: show asset-graph <asset-guid>
858
1119
 
859
- asset-guid must be a valid asset guid. These can be found through other commands such as 'show tech-type-elements'
1120
+ asset-guid must be a valid asset guid. These can be found through other md_commands such as 'show tech-type-elements'
860
1121
 
861
1122
  """
862
1123
  c = ctx.obj
@@ -894,8 +1155,14 @@ def glossary_group(ctx):
894
1155
  default="*",
895
1156
  help="Optionally restrict search to a specific named glossary",
896
1157
  )
1158
+ @click.option(
1159
+ "--output-format",
1160
+ type=click.Choice(["FORM", "REPORT", "TABLE"]),
1161
+ default="TABLE",
1162
+ help="Display on screen as table, or as FORM or REPORT file",
1163
+ )
897
1164
  @click.pass_context
898
- def show_terms(ctx, search_string, glossary_guid, glossary_name):
1165
+ def show_terms(ctx, search_string, glossary_guid, glossary_name, output_format):
899
1166
  """Find and display glossary terms"""
900
1167
  c = ctx.obj
901
1168
  display_glossary_terms(
@@ -908,13 +1175,42 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name):
908
1175
  c.password,
909
1176
  c.jupyter,
910
1177
  c.width,
1178
+ output_format,
911
1179
  )
912
1180
 
1181
+ @glossary_group.command("glossary-categories")
1182
+ @click.option("--search_string", default="*", help="Name to search for categories")
1183
+ @click.option(
1184
+ "--output-format",
1185
+ type=click.Choice(["FORM", "REPORT", "TABLE"]),
1186
+ default="TABLE",
1187
+ help="Display on screen as table, or as FORM or REPORT file",
1188
+ )
1189
+ @click.pass_context
1190
+ def categories(ctx, search_string, output_format):
1191
+ """Display a list of categories"""
1192
+ c = ctx.obj
1193
+ display_categories(
1194
+ search_string,
1195
+ c.view_server,
1196
+ c.view_server_url,
1197
+ c.userid,
1198
+ c.password,
1199
+ c.jupyter,
1200
+ c.width,
1201
+ output_format,
1202
+ )
913
1203
 
914
1204
  @glossary_group.command("glossaries")
915
1205
  @click.option("--search_string", default="*", help="Name to search for glossaries")
1206
+ @click.option(
1207
+ "--output-format",
1208
+ type=click.Choice(["FORM", "REPORT", "TABLE"]),
1209
+ default="TABLE",
1210
+ help="Display on screen as table, or as FORM or REPORT file",
1211
+ )
916
1212
  @click.pass_context
917
- def glossaries(ctx, search_string):
1213
+ def glossaries(ctx, search_string, output_format):
918
1214
  """Display a list of glossaries"""
919
1215
  c = ctx.obj
920
1216
  display_glossaries(
@@ -925,6 +1221,7 @@ def glossaries(ctx, search_string):
925
1221
  c.password,
926
1222
  c.jupyter,
927
1223
  c.width,
1224
+ output_format,
928
1225
  )
929
1226
 
930
1227
 
@@ -1167,6 +1464,18 @@ def tell_cat(ctx):
1167
1464
  """Perform actions an Egeria Objects"""
1168
1465
  pass
1169
1466
 
1467
+ #
1468
+ # dr.egeria
1469
+ #
1470
+ @tell_cat.group("dr_egeria")
1471
+ @click.pass_context
1472
+ def dr_egeria(ctx):
1473
+ """Execute Dr.Egeria actions"""
1474
+ pass
1475
+
1476
+ dr_egeria.add_command(process_markdown_file)
1477
+
1478
+
1170
1479
 
1171
1480
  @tell_cat.group("glossary")
1172
1481
  @click.pass_context
@@ -1179,9 +1488,13 @@ tell_glossary.add_command(create_glossary)
1179
1488
  tell_glossary.add_command(delete_glossary)
1180
1489
  tell_glossary.add_command(delete_term)
1181
1490
  tell_glossary.add_command(create_term)
1182
- tell_glossary.add_command(import_terms)
1183
- tell_glossary.add_command(export_terms)
1184
-
1491
+ tell_glossary.add_command(import_terms_csv)
1492
+ tell_glossary.add_command(export_terms_csv)
1493
+ tell_glossary.add_command(create_category)
1494
+ tell_glossary.add_command(delete_category)
1495
+ tell_glossary.add_command(update_category)
1496
+ tell_glossary.add_command(add_term_to_category)
1497
+ tell_glossary.add_command(remove_term_from_category)
1185
1498
 
1186
1499
  @tell_cat.group("todo")
1187
1500
  @click.pass_context
@@ -1269,38 +1582,6 @@ def show_project_dependencies(ctx, project):
1269
1582
  )
1270
1583
 
1271
1584
 
1272
- @glossary_group.command("glossary-terms")
1273
- @click.option(
1274
- "--search-string",
1275
- default="*",
1276
- help="List glossary terms similar to search string - minimum of 4 characters",
1277
- )
1278
- @click.option(
1279
- "--glossary-guid",
1280
- default=None,
1281
- help="Optionally restrict search to glossary with the specified guid",
1282
- )
1283
- @click.option(
1284
- "--glossary-name",
1285
- default="*",
1286
- help="Optionally restrict search to a specific named glossary",
1287
- )
1288
- @click.pass_context
1289
- def show_terms(ctx, search_string, glossary_guid, glossary_name):
1290
- """Find and display glossary terms"""
1291
- c = ctx.obj
1292
- display_glossary_terms(
1293
- search_string,
1294
- glossary_guid,
1295
- glossary_name,
1296
- c.view_server,
1297
- c.view_server_url,
1298
- c.userid,
1299
- c.password,
1300
- c.jupyter,
1301
- c.width,
1302
- )
1303
-
1304
1585
 
1305
1586
  @asset_group.command("asset-graph")
1306
1587
  @click.argument("asset_guid", nargs=1)
@@ -1310,7 +1591,7 @@ def show_asset_graph(ctx, asset_guid):
1310
1591
 
1311
1592
  Usage: show asset-graph <asset-guid>
1312
1593
 
1313
- asset-guid must be a valid asset guid. These can be found through other commands such as 'show tech-type-elements'
1594
+ asset-guid must be a valid asset guid. These can be found through other md_commands such as 'show tech-type-elements'
1314
1595
 
1315
1596
  """
1316
1597
  c = ctx.obj
@@ -1396,22 +1677,6 @@ def show_user_ids(ctx):
1396
1677
  )
1397
1678
 
1398
1679
 
1399
- @show_server.command("archives")
1400
- @click.pass_context
1401
- def archives(ctx):
1402
- """Display a list of archivest"""
1403
- c = ctx.obj
1404
- display_archive_list(
1405
- c.view_server,
1406
- c.view_server_url,
1407
- c.userid,
1408
- c.password,
1409
- False,
1410
- c.jupyter,
1411
- c.width,
1412
- )
1413
-
1414
-
1415
1680
  @deployed_data.command("deployed-servers")
1416
1681
  @click.option(
1417
1682
  "--search-string",
@@ -1479,23 +1744,6 @@ def databases(ctx):
1479
1744
  )
1480
1745
 
1481
1746
 
1482
- @glossary_group.command("glossaries")
1483
- @click.option("--search_string", default="*", help="Name to search for glossaries")
1484
- @click.pass_context
1485
- def glossaries(ctx, search_string):
1486
- """Display a list of glossaries"""
1487
- c = ctx.obj
1488
- display_glossaries(
1489
- search_string,
1490
- c.view_server,
1491
- c.view_server_url,
1492
- c.userid,
1493
- c.password,
1494
- c.jupyter,
1495
- c.width,
1496
- )
1497
-
1498
-
1499
1747
  # @tell_cat.group("survey")
1500
1748
  # @click.pass_context
1501
1749
  # def survey(ctx):
@@ -1504,7 +1752,7 @@ def glossaries(ctx, search_string):
1504
1752
  # pass
1505
1753
  #
1506
1754
  #
1507
- # @survey.command("survey-uc-server")
1755
+ # @survey.object_action("survey-uc-server")
1508
1756
  # @click.pass_context
1509
1757
  # @click.option(
1510
1758
  # "--uc_endpoint",
@@ -1538,10 +1786,32 @@ def show_ops(ctx):
1538
1786
  pass
1539
1787
 
1540
1788
 
1789
+ @show_ops.group("repository")
1790
+ @click.pass_context
1791
+ def show_repo(ctx):
1792
+ """Group of md_commands to show repository information"""
1793
+ pass
1794
+
1795
+
1796
+ @show_repo.command("archives")
1797
+ @click.pass_context
1798
+ def show_archives(ctx):
1799
+ c = ctx.obj
1800
+ display_archive_list(
1801
+ c.view_server,
1802
+ c.view_server_url,
1803
+ c.userid,
1804
+ c.password,
1805
+ False,
1806
+ c.jupyter,
1807
+ c.width,
1808
+ )
1809
+
1810
+
1541
1811
  @show_ops.group("platforms")
1542
1812
  @click.pass_context
1543
1813
  def show_platform(ctx):
1544
- """Group of commands to show information about Egeria platforms"""
1814
+ """Group of md_commands to show information about Egeria platforms"""
1545
1815
  pass
1546
1816
 
1547
1817
 
@@ -1558,7 +1828,7 @@ def show_platform_status(ctx):
1558
1828
  @show_ops.group("servers")
1559
1829
  @click.pass_context
1560
1830
  def show_server(ctx):
1561
- """Group of commands to show information about Egeria servers"""
1831
+ """Group of md_commands to show information about Egeria servers"""
1562
1832
  pass
1563
1833
 
1564
1834
 
@@ -1602,7 +1872,7 @@ def show_startup_status(ctx):
1602
1872
  @show_ops.group("engines")
1603
1873
  @click.pass_context
1604
1874
  def engine_host(ctx):
1605
- """Group of commands to show information about Egeria engines"""
1875
+ """Group of md_commands to show information about Egeria engines"""
1606
1876
  pass
1607
1877
 
1608
1878
 
@@ -1615,18 +1885,13 @@ def engine_host(ctx):
1615
1885
  @click.option(
1616
1886
  "--list", is_flag=True, default=False, help="If True, a paged list will be shown"
1617
1887
  )
1618
- @click.option(
1619
- "--engine-host",
1620
- default="engine-host",
1621
- help="Name of the Engine Host to get status for",
1622
- )
1623
1888
  @click.pass_context
1624
- def gov_eng_status(ctx, engine_list, engine_host, list):
1889
+ def gov_eng_status(ctx, engine_list, list):
1625
1890
  """Display engine-host status information"""
1626
1891
  c = ctx.obj
1627
1892
  display_gov_eng_status(
1628
1893
  [engine_list],
1629
- engine_host=engine_host,
1894
+ engine_host=c.engine_host,
1630
1895
  view_server=c.view_server,
1631
1896
  url=c.view_server_url,
1632
1897
  username=c.userid,
@@ -1686,7 +1951,7 @@ def eng_activity_status(ctx, rowlimit: int, list: bool, compressed: bool):
1686
1951
  @show_ops.group("integrations")
1687
1952
  @click.pass_context
1688
1953
  def integrations(ctx):
1689
- """Group of commands to show information about Egeria integrations"""
1954
+ """Group of md_commands to show information about Egeria integrations"""
1690
1955
  pass
1691
1956
 
1692
1957
 
@@ -1753,7 +2018,7 @@ def tell_ops(ctx):
1753
2018
  @tell_ops.group("integration-daemon")
1754
2019
  @click.pass_context
1755
2020
  def tell_integration_daemon(ctx):
1756
- """Group of commands to an integration_daemon"""
2021
+ """Group of md_commands to an integration_daemon"""
1757
2022
  pass
1758
2023
 
1759
2024
 
@@ -1764,16 +2029,11 @@ def tell_integration_daemon(ctx):
1764
2029
  default="all",
1765
2030
  help="Name of connector to refresh or 'all' to refresh all",
1766
2031
  )
1767
- @click.option(
1768
- "--server",
1769
- default="integration-daemon",
1770
- help="Name of the integration server to refresh",
1771
- )
1772
- def refresh_connectors(ctx, server, connector):
2032
+ def refresh_connectors(ctx, connector):
1773
2033
  """Refresh the specified integration connector or ALL connectors if not specified"""
1774
2034
  c = ctx.obj
1775
2035
  refresh_connector(
1776
- connector, server, c.view_server_url, c.view_server, c.userid, c.password
2036
+ connector, c.integration_daemon, c.integration_daemon_urll, c.view_server, c.userid, c.password
1777
2037
  )
1778
2038
 
1779
2039
 
@@ -1784,16 +2044,12 @@ def refresh_connectors(ctx, server, connector):
1784
2044
  default="all",
1785
2045
  help="Name of connector to restart or 'all' to restart all",
1786
2046
  )
1787
- @click.option(
1788
- "--server",
1789
- default="integration-daemon",
1790
- help="Name of the integration server to refresh",
1791
- )
2047
+
1792
2048
  def restart_connectors(ctx, server, connector):
1793
2049
  """Restart the specified integration connector or ALL connectors if not specified"""
1794
2050
  c = ctx.obj
1795
2051
  restart_connector(
1796
- connector, server, c.view_server_url, c.view_server, c.userid, c.password
2052
+ connector, c.integration_daemon, c.integration_daemon_url, c.view_server, c.userid, c.password
1797
2053
  )
1798
2054
 
1799
2055
 
@@ -1818,7 +2074,7 @@ servers.add_command(stop_server)
1818
2074
  @tell_ops.group("engine-host")
1819
2075
  @click.pass_context
1820
2076
  def engine_host(ctx):
1821
- """Group of commands to an engine-host"""
2077
+ """Group of md_commands to an engine-host"""
1822
2078
  pass
1823
2079
 
1824
2080
 
@@ -1830,7 +2086,7 @@ engine_host.add_command(refresh_gov_eng_config)
1830
2086
  @tell_ops.group("repository")
1831
2087
  @click.pass_context
1832
2088
  def repository(ctx):
1833
- """Group of commands to a repository"""
2089
+ """Group of md_commands to a repository"""
1834
2090
  pass
1835
2091
 
1836
2092