pyegeria 5.4.9.5__tar.gz → 5.4.9.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. {pyegeria-5.4.9.5/pyegeria.egg-info → pyegeria-5.4.9.6}/PKG-INFO +1 -1
  2. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/egeria.py +1 -9
  3. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/egeria_tech.py +1 -9
  4. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/get_tech_type_template.py +5 -5
  5. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_solution_blueprints.py +6 -5
  6. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_solution_components.py +23 -29
  7. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_solution_roles.py +21 -32
  8. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_tech_templates.py +49 -51
  9. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/config/config.json +6 -6
  10. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/format_sets_save_load_example.py +40 -40
  11. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/output_formats_example.py +31 -31
  12. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_exceptions_new.py +6 -2
  13. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/automated_curation.py +45 -0
  14. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/base_report_formats.py +34 -3
  15. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/config.py +21 -7
  16. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6/pyegeria.egg-info}/PKG-INFO +1 -1
  17. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyproject.toml +1 -1
  18. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_automated_curation_omvs.py +4 -4
  19. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/LICENSE +0 -0
  20. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/MANIFEST.in +0 -0
  21. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/README.md +0 -0
  22. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/__init__.py +0 -0
  23. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/Dr-Egeria_md-orig.py +0 -0
  24. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/__init__.py +0 -0
  25. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/collection_actions.py +0 -0
  26. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/dr_egeria_command_help.py +0 -0
  27. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/dr_egeria_jupyter.py +0 -0
  28. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/dr_egeria_md.py +0 -0
  29. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/exp_list_glossaries.py +0 -0
  30. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/get_asset_graph.py +0 -0
  31. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/get_collection_tree.py +0 -0
  32. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/get_project_dependencies.py +0 -0
  33. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/get_project_structure.py +0 -0
  34. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/get_tech_type_elements.py +0 -0
  35. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/glossary_actions.py +0 -0
  36. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_assets.py +0 -0
  37. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_cert_types.py +0 -0
  38. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_collections.py +0 -0
  39. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_deployed_catalogs.py +0 -0
  40. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_deployed_database_schemas.py +0 -0
  41. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_deployed_databases.py +0 -0
  42. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_deployed_servers.py +0 -0
  43. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_glossaries.py +0 -0
  44. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_projects.py +0 -0
  45. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_tech_type_elements.py +0 -0
  46. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_tech_types.py +0 -0
  47. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_terms.py +0 -0
  48. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_todos.py +0 -0
  49. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/list_user_ids.py +0 -0
  50. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/my_reports.py +0 -0
  51. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/run_report.py +0 -0
  52. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cat/run_report_orig.py +0 -0
  53. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/__init__.py +0 -0
  54. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/egeria_cat.py +0 -0
  55. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/egeria_login_tui.py +0 -0
  56. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/egeria_my.py +0 -0
  57. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/egeria_ops.py +0 -0
  58. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/cli/ops_config.py +0 -0
  59. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/deprecated/list_data_designer.py +0 -0
  60. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/deprecated/list_data_structures_full.py +0 -0
  61. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/deprecated/old_get_asset_graph.py +0 -0
  62. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/my/__init__.py +0 -0
  63. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/my/list_my_profile.py +0 -0
  64. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/my/list_my_roles.py +0 -0
  65. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/my/monitor_my_todos.py +0 -0
  66. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/my/monitor_open_todos.py +0 -0
  67. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/my/todo_actions.py +0 -0
  68. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/__init__.py +0 -0
  69. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/gov_server_actions.py +0 -0
  70. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/list_archives.py +0 -0
  71. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/list_catalog_targets.py +0 -0
  72. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/load_archive.py +0 -0
  73. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_active_engine_activity.py +0 -0
  74. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_daemon_status.py +0 -0
  75. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_engine_activity.py +0 -0
  76. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_engine_status.py +0 -0
  77. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_platform_status.py +0 -0
  78. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_server_startup.py +0 -0
  79. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/monitor_server_status.py +0 -0
  80. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/orig_monitor_server_list.py +0 -0
  81. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/orig_monitor_server_status.py +0 -0
  82. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/refresh_integration_daemon.py +0 -0
  83. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/restart_integration_daemon.py +0 -0
  84. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/table_integ_daemon_status.py +0 -0
  85. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/ops/x_engine_actions.py +0 -0
  86. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/__init__.py +0 -0
  87. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/generic_actions.py +0 -0
  88. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/get_element_info.py +0 -0
  89. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/get_guid_info.py +0 -0
  90. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/get_tech_details.py +0 -0
  91. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_all_om_type_elements.py +0 -0
  92. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_all_om_type_elements_x.py +0 -0
  93. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_all_related_elements.py +0 -0
  94. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_anchored_elements.py +0 -0
  95. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_asset_types.py +0 -0
  96. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
  97. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_elements_by_property_value.py +0 -0
  98. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_elements_by_property_value_x.py +0 -0
  99. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_elements_for_classification.py +0 -0
  100. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_gov_action_processes.py +0 -0
  101. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_information_supply_chains.py +0 -0
  102. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_registered_services.py +0 -0
  103. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_related_elements_with_prop_value.py +0 -0
  104. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_related_specification.py +0 -0
  105. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_relationship_types.py +0 -0
  106. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_relationships.py +0 -0
  107. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/list_valid_metadata_values.py +0 -0
  108. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/table_tech_templates.py +0 -0
  109. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/commands/tech/x_list_related_elements.py +0 -0
  110. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/config/__init__.py +0 -0
  111. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/config/config_workspaces.json +0 -0
  112. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/config/dw-format-sets.json +0 -0
  113. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/README.md +0 -0
  114. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/__init__.py +0 -0
  115. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDS1.py +0 -0
  116. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDS2.py +0 -0
  117. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDS3.py +0 -0
  118. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDS4.py +0 -0
  119. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDS5.py +0 -0
  120. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDS6.py +0 -0
  121. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoMDSx.py +0 -0
  122. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_cocoView1.py +0 -0
  123. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_coco_core.py +0 -0
  124. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_coco_datalake.py +0 -0
  125. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_exchangeDL01.py +0 -0
  126. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_governDL01.py +0 -0
  127. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_monitorDev01.py +0 -0
  128. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/config_monitorGov01.py +0 -0
  129. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Coco_config/globals.py +0 -0
  130. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/GeoSpatial Products Example.py +0 -0
  131. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/P-egeria-server-config.ipynb +0 -0
  132. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/README.md +0 -0
  133. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/P-environment-check.ipynb +0 -0
  134. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/__init__.py +0 -0
  135. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/common-functions.ipynb +0 -0
  136. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/environment-check.ipynb +0 -0
  137. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/globals.ipynb +0 -0
  138. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/globals.py +0 -0
  139. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/Jupyter Notebooks/common/orig_globals.py +0 -0
  140. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/format_sets/all_format_sets.json +0 -0
  141. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/format_sets/custom_format_sets.json +0 -0
  142. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/examples/format_sets/subset_format_sets.json +0 -0
  143. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/__init__.py +0 -0
  144. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/data/commands.json +0 -0
  145. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/data/commands_working.json +0 -0
  146. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/data/gened_report_specs.py +0 -0
  147. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/data/generated_format_sets.json +0 -0
  148. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/data/generated_format_sets_old.json +0 -0
  149. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/data/generated_format_sets_old.py +0 -0
  150. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/dr_egeria.py +0 -0
  151. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/__init__.py +0 -0
  152. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/data_designer_commands.py +0 -0
  153. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/ext_ref_commands.py +0 -0
  154. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/feedback_commands.py +0 -0
  155. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/glossary_commands.py +0 -0
  156. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/governance_officer_commands.py +0 -0
  157. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/product_manager_commands.py +0 -0
  158. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/project_commands.py +0 -0
  159. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/solution_architect_commands.py +0 -0
  160. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_commands/view_commands.py +0 -0
  161. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/__init__.py +0 -0
  162. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/common_md_proc_utils.py +0 -0
  163. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/common_md_utils.py +0 -0
  164. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/determine_width.py +0 -0
  165. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/extraction_utils.py +0 -0
  166. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/gen_report_specs.py +0 -0
  167. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/generate_dr_help.py +0 -0
  168. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/generate_md_cmd_templates.py +0 -0
  169. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/generate_md_templates.py +0 -0
  170. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/md_processing_constants.py +0 -0
  171. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/md_processing/md_processing_utils/message_constants.py +0 -0
  172. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/__init__.py +0 -0
  173. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_base_client.py +0 -0
  174. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_client.py +0 -0
  175. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_client_new.py +0 -0
  176. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_client_new_backup.py +0 -0
  177. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_exceptions.py +0 -0
  178. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_globals.py +0 -0
  179. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_output_format_models.py +0 -0
  180. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_output_formats.py +0 -0
  181. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/_validators.py +0 -0
  182. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/asset_catalog.py +0 -0
  183. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/classification_manager.py +0 -0
  184. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/collection_manager.py +0 -0
  185. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/collection_models.py +0 -0
  186. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/core_omag_server_config.py +0 -0
  187. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/create_tech_guid_lists.py +0 -0
  188. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/data_designer.py +0 -0
  189. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/deprecated/_deprecated_gov_engine.py +0 -0
  190. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/deprecated/classification_manager_omvs.py +0 -0
  191. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/deprecated/runtime_manager_omvs.py +0 -0
  192. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/dr_egeria_reports.py +0 -0
  193. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/egeria_cat_client.py +0 -0
  194. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/egeria_client.py +0 -0
  195. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/egeria_config_client.py +0 -0
  196. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/egeria_tech_client.py +0 -0
  197. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/external_links.py +0 -0
  198. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/feedback_manager.py +0 -0
  199. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/format_set_executor.py +0 -0
  200. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/full_omag_server_config.py +0 -0
  201. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/glossary_manager.py +0 -0
  202. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/governance_officer.py +0 -0
  203. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/load_config.py +0 -0
  204. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/logging_configuration.py +0 -0
  205. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/mcp_adapter.py +0 -0
  206. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/mcp_server.py +0 -0
  207. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/md_processing_utils.py +0 -0
  208. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/mermaid_utilities.py +0 -0
  209. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/metadata_explorer_omvs.py +0 -0
  210. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/models.py +0 -0
  211. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/my_profile_omvs.py +0 -0
  212. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/output_formatter.py +0 -0
  213. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/output_formatter_with_machine_keys.py +0 -0
  214. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/platform_services.py +0 -0
  215. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/project_manager.py +0 -0
  216. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/reference_data.py +0 -0
  217. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/registered_info.py +0 -0
  218. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/runtime_manager.py +0 -0
  219. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/server_operations.py +0 -0
  220. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/solution_architect.py +0 -0
  221. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/template_manager_omvs.py +0 -0
  222. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/utils.py +0 -0
  223. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/valid_metadata_omvs.py +0 -0
  224. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria/x_action_author_omvs.py +0 -0
  225. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria.egg-info/SOURCES.txt +0 -0
  226. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria.egg-info/dependency_links.txt +0 -0
  227. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria.egg-info/entry_points.txt +0 -0
  228. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria.egg-info/requires.txt +0 -0
  229. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/pyegeria.egg-info/top_level.txt +0 -0
  230. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/setup.cfg +0 -0
  231. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_asset_catalog_omvs.py +0 -0
  232. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_classification_manager_omvs.py +0 -0
  233. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_client.py +0 -0
  234. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_client_new.py +0 -0
  235. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_collection_manager_omvs.py +0 -0
  236. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_comments.py +0 -0
  237. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_config.py +0 -0
  238. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_config_unit.py +0 -0
  239. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_core_omag_server_config.py +0 -0
  240. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_data_designer.py +0 -0
  241. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_dr_egeria_command_help_modes.py +0 -0
  242. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_egeria_cat_client.py +0 -0
  243. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_egeria_client.py +0 -0
  244. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_egeria_my_client.py +0 -0
  245. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_env_settings.py +0 -0
  246. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_external_links.py +0 -0
  247. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_feedback_manager_omvs.py +0 -0
  248. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_format_set_dict.py +0 -0
  249. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_full_omag_server_config.py +0 -0
  250. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_glossary_manager_omvs.py +0 -0
  251. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_governance_officer_omvs.py +0 -0
  252. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_load_config.py +0 -0
  253. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_mcp_adapter.py +0 -0
  254. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_metadata_explorer_omvs.py +0 -0
  255. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_my_profile_omvs.py +0 -0
  256. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_output_format_models_unit.py +0 -0
  257. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_output_format_sets_unit.py +0 -0
  258. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_output_formats.py +0 -0
  259. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_output_formatter_deepcopy_isolation.py +0 -0
  260. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_output_formatter_dict_collisions.py +0 -0
  261. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_platform_services.py +0 -0
  262. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_project_manager_omvs.py +0 -0
  263. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_reference_data.py +0 -0
  264. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_registered_info.py +0 -0
  265. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_root_path.py +0 -0
  266. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_runtime_manager.py +0 -0
  267. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_server_operations.py +0 -0
  268. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_solution_architect_omvs.py +0 -0
  269. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_utils.py +0 -0
  270. {pyegeria-5.4.9.5 → pyegeria-5.4.9.6}/tests/test_valid_metadata_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyegeria
3
- Version: 5.4.9.5
3
+ Version: 5.4.9.6
4
4
  Summary: A python client for Egeria
5
5
  Author-email: Dan Wolfson <dan.wolfson@pdr-associates.com>
6
6
  License-Expression: Apache-2.0
@@ -1020,15 +1020,7 @@ def list_solution_roles(ctx, search_string):
1020
1020
  def list_solution_components(ctx, search_string):
1021
1021
  """Display solution componentss"""
1022
1022
  c = ctx.obj
1023
- solution_component_list(
1024
- search_string,
1025
- c.view_server,
1026
- c.view_server_url,
1027
- c.userid,
1028
- c.password,
1029
- c.jupyter,
1030
- c.width,
1031
- )
1023
+ solution_component_list(search_string, c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width)
1032
1024
 
1033
1025
 
1034
1026
  #
@@ -785,15 +785,7 @@ def list_solution_roles(ctx, search_string):
785
785
  def list_solution_components(ctx, search_string):
786
786
  """Display solution componentss"""
787
787
  c = ctx.obj
788
- solution_component_list(
789
- search_string,
790
- c.view_server,
791
- c.view_server_url,
792
- c.userid,
793
- c.password,
794
- c.jupyter,
795
- c.width,
796
- )
788
+ solution_component_list(search_string, c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width)
797
789
 
798
790
 
799
791
  #
@@ -3,7 +3,7 @@
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
5
5
 
6
- Display the status of cataloged platforms and servers.
6
+ Display technology type information
7
7
  """
8
8
  import argparse
9
9
  import os
@@ -78,8 +78,8 @@ def template_viewer(
78
78
  a_client = AutomatedCuration(server_name, platform_url, user_id=user)
79
79
 
80
80
  token = a_client.create_egeria_bearer_token(user, user_pass)
81
- tech_elements = a_client.get_technology_type_elements(tech_name, get_templates=True, output_format=JSON,
82
- report_spec=Tech - Type - Elements)
81
+ tech_elements = a_client.get_technology_type_elements(tech_name, get_templates=True, output_format="JSON",
82
+ report_spec="Tech-Type-Elements")
83
83
  if (len(tech_elements) >= 1) and (type(tech_elements) is list):
84
84
  tree = Tree(
85
85
  f"Deployed Technology Type: {tech_name}",
@@ -94,10 +94,10 @@ def template_viewer(
94
94
  tech_created_by = header["versions"]["createdBy"]
95
95
  tech_created_at = header["versions"]["createTime"]
96
96
  tech_guid = header["guid"]
97
- tech_classifications = header["classifications"]
97
+ tech_classifications = element.get("otherClassifications",{})
98
98
  class_md = build_classifications(tech_classifications)
99
99
 
100
- referenceables = element["referenceableProperties"]
100
+ referenceables = element["properties"]
101
101
  tech_qualified_name = referenceables["qualifiedName"]
102
102
  extended = referenceables["extendedProperties"]
103
103
  ex_md: str = ""
@@ -34,14 +34,12 @@ from pyegeria import (
34
34
 
35
35
  app_config = settings.Environment
36
36
  config_path = os.path.join(app_config.pyegeria_config_directory, app_config.pyegeria_config_file)
37
- print(f"Loading config from {config_path}")
37
+
38
38
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
39
39
  EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
40
40
  EGERIA_MERMAID_FOLDER = os.path.join(app_config.pyegeria_root, app_config.egeria_mermaid_folder)
41
41
  conf = load_app_config(config_path)
42
-
43
- print(EGERIA_MERMAID_FOLDER)
44
- exit(0)
42
+ # print(f"Loading config from {config_path} and mermaid folder is {EGERIA_MERMAID_FOLDER}")
45
43
  console = Console(width = app_config.console_width)
46
44
  config_logging()
47
45
 
@@ -56,8 +54,10 @@ def blueprint_list(
56
54
  timeout: int = 30,
57
55
  ):
58
56
  """A Supply Chain viewer"""
57
+ print(user + ":" + user_password )
58
+ start_time = time.time()
59
59
  client = SolutionArchitect(server_name, platform_url, user, user_password)
60
- token = client.create_egeria_bearer_token()
60
+ token = client.create_egeria_bearer_token(user,user_password)
61
61
 
62
62
  def generate_table() -> Table | str:
63
63
  table = Table(
@@ -164,6 +164,7 @@ def main():
164
164
  userid = args.userid if args.userid is not None else EGERIA_USER
165
165
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
166
166
 
167
+
167
168
  try:
168
169
  search_string = Prompt.ask("Enter a search string:", default="*")
169
170
  blueprint_list(search_string, server, url, userid, user_pass)
@@ -21,32 +21,28 @@ from rich.text import Text
21
21
  from rich.tree import Tree
22
22
 
23
23
  from pyegeria import (
24
- InvalidParameterException,
25
- ProjectManager,
26
- PropertyServerException,
27
- UserNotAuthorizedException,
24
+ PyegeriaException,
25
+ print_basic_exception,
26
+ SolutionArchitect,
27
+ settings, load_app_config, pretty_print_config,
28
+ config_logging,
28
29
  save_mermaid_html,
29
30
  )
30
- from pyegeria._exceptions import print_exception_response
31
- from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
32
- from pyegeria.solution_architect import SolutionArchitect
33
31
 
34
- disable_ssl_warnings = True
35
- EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
36
- EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
37
- EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
38
- EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "qs-view-server")
39
- EGERIA_VIEW_SERVER_URL = os.environ.get(
40
- "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
41
- )
42
- EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
43
- EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
44
- EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
32
+
33
+ app_config = settings.Environment
34
+ config_path = os.path.join(app_config.pyegeria_config_directory, app_config.pyegeria_config_file)
35
+
45
36
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
46
37
  EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
47
- EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
48
- EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
49
- EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
38
+ EGERIA_MERMAID_FOLDER = os.path.join(app_config.pyegeria_root, app_config.egeria_mermaid_folder)
39
+ conf = load_app_config(config_path)
40
+ # print(f"Loading config from {config_path} and mermaid folder is {EGERIA_MERMAID_FOLDER}")
41
+ console = Console(width = app_config.console_width)
42
+ config_logging()
43
+
44
+
45
+ disable_ssl_warnings = True
50
46
 
51
47
 
52
48
  def solution_component_list(
@@ -55,8 +51,8 @@ def solution_component_list(
55
51
  platform_url: str,
56
52
  user: str,
57
53
  user_password: str,
58
- jupyter: bool = EGERIA_JUPYTER,
59
- width: int = EGERIA_WIDTH,
54
+ jupyter: bool = app_config.egeria_jupyter,
55
+ width: int = app_config.console_width,
60
56
  timeout: int = 30,
61
57
  ):
62
58
  """A Solution Component viewer"""
@@ -153,11 +149,9 @@ def solution_component_list(
153
149
  console.print(generate_table())
154
150
 
155
151
  except (
156
- InvalidParameterException,
157
- PropertyServerException,
158
- UserNotAuthorizedException,
152
+ PyegeriaException
159
153
  ) as e:
160
- print_exception_response(e)
154
+ print_basic_exception(e)
161
155
 
162
156
 
163
157
  def main():
@@ -169,8 +163,8 @@ def main():
169
163
  parser.add_argument("--password", help="User Password")
170
164
  args = parser.parse_args()
171
165
 
172
- server = args.server if args.server is not None else EGERIA_VIEW_SERVER
173
- url = args.url if args.url is not None else EGERIA_PLATFORM_URL
166
+ server = args.server if args.server is not None else app_config.egeria_view_server
167
+ url = args.url if args.url is not None else app_config.egeria_view_server_url
174
168
  userid = args.userid if args.userid is not None else EGERIA_USER
175
169
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
176
170
 
@@ -18,35 +18,26 @@ from rich.panel import Panel
18
18
  from rich.prompt import Prompt
19
19
  from rich.table import Table
20
20
  from rich.text import Text
21
- from rich.tree import Tree
22
-
23
21
  from pyegeria import (
24
- InvalidParameterException,
25
- ProjectManager,
26
- PropertyServerException,
27
- UserNotAuthorizedException,
22
+ PyegeriaException,
23
+ print_basic_exception,
24
+ SolutionArchitect,
25
+ settings, load_app_config, pretty_print_config,
26
+ config_logging,
28
27
  save_mermaid_html,
29
28
  )
30
- from pyegeria._exceptions import print_exception_response
31
- from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
32
- from pyegeria.solution_architect import SolutionArchitect
33
-
34
- disable_ssl_warnings = True
35
- EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
36
- EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
37
- EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
38
- EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "qs-view-server")
39
- EGERIA_VIEW_SERVER_URL = os.environ.get(
40
- "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
41
- )
42
- EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
43
- EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
44
- EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
29
+
30
+
31
+ app_config = settings.Environment
32
+ config_path = os.path.join(app_config.pyegeria_config_directory, app_config.pyegeria_config_file)
33
+
45
34
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
46
35
  EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
47
- EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
48
- EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
49
- EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
36
+ EGERIA_MERMAID_FOLDER = os.path.join(app_config.pyegeria_root, app_config.egeria_mermaid_folder)
37
+ conf = load_app_config(config_path)
38
+ # print(f"Loading config from {config_path} and mermaid folder is {EGERIA_MERMAID_FOLDER}")
39
+ console = Console(width = app_config.console_width)
40
+ config_logging()
50
41
 
51
42
 
52
43
  def solution_role_list(
@@ -55,8 +46,8 @@ def solution_role_list(
55
46
  platform_url: str,
56
47
  user: str,
57
48
  user_password: str,
58
- jupyter: bool = EGERIA_JUPYTER,
59
- width: int = EGERIA_WIDTH,
49
+ jupyter: bool = app_config.egeria_jupyter,
50
+ width: int = app_config.console_width,
60
51
  timeout: int = 30,
61
52
  ):
62
53
  """A Supply Chain viewer"""
@@ -152,11 +143,9 @@ def solution_role_list(
152
143
  console.print(generate_table())
153
144
 
154
145
  except (
155
- InvalidParameterException,
156
- PropertyServerException,
157
- UserNotAuthorizedException,
146
+ PyegeriaException
158
147
  ) as e:
159
- print_exception_response(e)
148
+ print_basic_exception(e)
160
149
 
161
150
 
162
151
  def main():
@@ -168,8 +157,8 @@ def main():
168
157
  parser.add_argument("--password", help="User Password")
169
158
  args = parser.parse_args()
170
159
 
171
- server = args.server if args.server is not None else EGERIA_VIEW_SERVER
172
- url = args.url if args.url is not None else EGERIA_PLATFORM_URL
160
+ server = args.server if args.server is not None else app_config.egeria_view_server
161
+ url = args.url if args.url is not None else app_config.egeria_view_server_url
173
162
  userid = args.userid if args.userid is not None else EGERIA_USER
174
163
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
175
164
 
@@ -14,28 +14,26 @@ from rich.table import Table
14
14
  from textual.widgets import DataTable
15
15
 
16
16
  from pyegeria import (
17
+ PyegeriaException,
18
+ print_basic_exception,
19
+ SolutionArchitect,
20
+ settings, load_app_config, pretty_print_config,
21
+ config_logging,
17
22
  AutomatedCuration,
18
- InvalidParameterException,
19
- PropertyServerException,
20
- UserNotAuthorizedException,
21
- print_exception_response,
22
23
  )
23
24
 
24
- console = Console()
25
- EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
26
- EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
27
- EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
28
- EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
29
- EGERIA_VIEW_SERVER_URL = os.environ.get(
30
- "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
31
- )
32
- EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
33
- EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
34
- EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
25
+
26
+ app_config = settings.Environment
27
+ config_path = os.path.join(app_config.pyegeria_config_directory, app_config.pyegeria_config_file)
28
+
35
29
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
36
30
  EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
37
- EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
38
- EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
31
+
32
+ conf = load_app_config(config_path)
33
+ # print(f"Loading config from {config_path} and mermaid folder is {EGERIA_MERMAID_FOLDER}")
34
+ console = Console(width = app_config.console_width)
35
+ config_logging()
36
+
39
37
 
40
38
 
41
39
  def list_templates(
@@ -52,33 +50,33 @@ def list_templates(
52
50
  if "deployedImplementationType" not in item["qualifiedName"]:
53
51
  continue
54
52
 
55
- details = a_client.get_tech_type_detail(item["name"])
56
- entry = {details["name"]: {}}
53
+ details = a_client.get_tech_type_detail(item["displayName"])
54
+ entry = {details["displayName"]: {}}
57
55
  if type(details) is str:
58
56
  tech_info_list.append(entry)
59
57
  continue
60
58
  templates = details.get("catalogTemplates", "Not Found")
61
59
  if type(templates) is list:
62
60
  t_list = []
63
- entry = {details["name"]: {}}
61
+ entry = {details["displayName"]: {}}
64
62
  for template in templates:
65
- t_list.append({"template": template["name"]})
66
- entry[details["name"]] = t_list
63
+ t_list.append({"template": template["displayName"]})
64
+ entry[details["displayName"]] = t_list
67
65
  tech_info_list.append(entry)
68
66
  return tech_info_list
69
67
 
70
68
 
71
69
  def add_row(
72
70
  table: Union[Table, DataTable],
73
- name: str,
71
+ displayName: str,
74
72
  template_name: str,
75
73
  template_guid: str,
76
74
  placeholder_table: Table,
77
75
  ) -> Table | DataTable:
78
76
  if isinstance(table, Table):
79
- table.add_row(name, template_name, template_guid, placeholder_table)
77
+ table.add_row(displayName, template_name, template_guid, placeholder_table)
80
78
  elif isinstance(table, DataTable):
81
- table.add_row(name, template_name, template_guid, placeholder_table)
79
+ table.add_row(displayName, template_name, template_guid, placeholder_table)
82
80
 
83
81
  return table
84
82
 
@@ -89,8 +87,8 @@ def display_templates_spec(
89
87
  url: str,
90
88
  username: str,
91
89
  password: str,
92
- jupyter: bool = EGERIA_JUPYTER,
93
- width: int = EGERIA_WIDTH,
90
+ jupyter: bool = app_config.egeria_jupyter,
91
+ width: int = app_config.console_width,
94
92
  data_table: bool = False,
95
93
  ) -> Table | DataTable:
96
94
  a_client = AutomatedCuration(server, url, username)
@@ -134,32 +132,32 @@ def display_templates_spec(
134
132
  placeholder_table.add_column("Example", width=20)
135
133
  placeholder_table.add_column("Description", width=40)
136
134
 
137
- name = item.get("name", "none")
135
+ displayName = item.get("displayName", "none")
138
136
 
139
- details = a_client.get_tech_type_detail(name)
137
+ details = a_client.get_tech_type_detail(displayName)
140
138
  if type(details) is str:
141
- console.log(f"Missing details for - {name}: {details}")
139
+ console.log(f"Missing details for - {displayName}: {details}")
142
140
  continue
143
141
 
144
142
  templates = details.get("catalogTemplates", "Not Found")
145
143
  if type(templates) is not str:
146
144
  for template in templates:
147
- template_name = template.get("name", None)
145
+ template_name = template.get("displayName", None)
148
146
 
149
147
  template_name = (
150
- f"{name}_Template"
148
+ f"{displayName}_Template"
151
149
  if template_name is None
152
150
  else template_name
153
151
  )
154
152
 
155
153
  specification = template["specification"]["placeholderProperty"]
156
- template_guid = template["relatedElement"]["guid"]
154
+ template_guid = template["relatedElement"]['elementHeader']["guid"]
157
155
 
158
156
  for placeholder in specification:
159
157
  placeholder_data_type = placeholder["dataType"]
160
158
  placeholder_description = placeholder["description"]
161
- placeholder_name = placeholder["placeholderPropertyName"]
162
- placeholder_required = placeholder["required"]
159
+ placeholder_name = placeholder["name"]
160
+ placeholder_required = str(placeholder["required"])
163
161
  placeholder_example = placeholder.get("example", None)
164
162
  placeholder_table.add_row(
165
163
  placeholder_name,
@@ -169,9 +167,9 @@ def display_templates_spec(
169
167
  placeholder_description,
170
168
  )
171
169
 
172
- # table.add_row(name, template_name, template_guid, placeholder_table)
170
+ # table.add_row(displayName, template_name, template_guid, placeholder_table)
173
171
  table = add_row(
174
- table, name, template_name, template_guid, placeholder_table
172
+ table, displayName, template_name, template_guid, placeholder_table
175
173
  )
176
174
 
177
175
  return table
@@ -189,12 +187,12 @@ def display_templates_spec(
189
187
  console.print(generate_table(data_table))
190
188
 
191
189
  except (
192
- InvalidParameterException,
193
- PropertyServerException,
194
- UserNotAuthorizedException,
190
+ PyegeriaException
195
191
  ) as e:
196
- print_exception_response(e)
192
+ print_basic_exception(e)
197
193
  assert e.related_http_code != "200", "Invalid parameters"
194
+ except Exception as e:
195
+ console.print_exception(show_locals=True)
198
196
  finally:
199
197
  a_client.close_session()
200
198
 
@@ -208,8 +206,8 @@ def main():
208
206
 
209
207
  args = parser.parse_args()
210
208
 
211
- server = args.server if args.server is not None else EGERIA_VIEW_SERVER
212
- url = args.url if args.url is not None else EGERIA_PLATFORM_URL
209
+ server = args.server if args.server is not None else app_config.egeria_view_server
210
+ url = args.url if args.url is not None else app_config.egeria_view_server_url
213
211
  userid = args.userid if args.userid is not None else EGERIA_USER
214
212
  password = args.password if args.password is not None else EGERIA_USER_PASSWORD
215
213
  guid = None
@@ -270,20 +268,20 @@ def main():
270
268
  # placeholder_table.add_column("Example", width=20)
271
269
  # placeholder_table.add_column("Description", width=40)
272
270
  #
273
- # name = item.get("name", "none")
271
+ # displayName = item.get("displayName", "none")
274
272
  #
275
- # details = a_client.get_tech_type_detail(name)
273
+ # details = a_client.get_tech_type_detail(displayName)
276
274
  # if type(details) is str:
277
- # console.log(f"Missing details for - {name}: {details}")
275
+ # console.log(f"Missing details for - {displayName}: {details}")
278
276
  # continue
279
277
  #
280
278
  # templates = details.get("catalogTemplates", "Not Found")
281
279
  # if type(templates) is not str:
282
280
  # for template in templates:
283
- # template_name = template.get("name", None)
281
+ # template_name = template.get("displayName", None)
284
282
  #
285
283
  # template_name = (
286
- # f"{name}_Template"
284
+ # f"{displayName}_Template"
287
285
  # if template_name is None
288
286
  # else template_name
289
287
  # )
@@ -306,7 +304,7 @@ def main():
306
304
  # )
307
305
  #
308
306
  # table.add_row(
309
- # name, template_name, template_guid, placeholder_table
307
+ # displayName, template_name, template_guid, placeholder_table
310
308
  # )
311
309
  #
312
310
  # return table
@@ -356,5 +354,5 @@ def main():
356
354
  # pass
357
355
  #
358
356
  #
359
- # if __name__ == "__main__":
360
- # main()
357
+ if __name__ == "__main__":
358
+ main()
@@ -6,8 +6,8 @@
6
6
  },
7
7
  "Environment": {
8
8
  "Console Width": 201,
9
- "Egeria Inbox": "inbox",
10
- "Egeria Outbox": "outbox",
9
+ "Egeria Inbox": "egeria-inbox",
10
+ "Egeria Outbox": "egeria-outbox",
11
11
  "Dr.Egeria Inbox": "inbox/dr-egeria-inbox",
12
12
  "Dr.Egeria Outbox": "outbox/dr-egeria-outbox",
13
13
  "Egeria Engine Host": "qs-engine-host",
@@ -17,17 +17,17 @@
17
17
  "Egeria Integration Daemon URL": "https://localhost:9443",
18
18
  "Egeria Jupyter": true,
19
19
  "Egeria Kafka Endpoint": "localhost:9192",
20
- "Egeria Mermaid Folder": "outbox/mermaid-graphs",
20
+ "Egeria Mermaid Folder": "egeria-outbox/mermaid-graphs",
21
21
  "Egeria Metadata Store": "qs-metadata-store",
22
22
  "Egeria Platform URL": "https://localhost:9443",
23
23
  "Egeria View Server": "qs-view-server2",
24
24
  "Egeria View Server URL": "https://localhost:9443",
25
25
  "Pyegeria Root": "/Users/dwolfson/localGit/egeria-python/sample-data",
26
- "Pyegeria Config Directory": "/Users/dwolfson/localGit/egeria-python/egeria-python/config",
26
+ "Pyegeria Config Directory": "/Users/dwolfson/localGit/egeria-python/config",
27
27
  "Pyegeria Publishing Root": "http://localhost:8085/outbox",
28
- "Pyegeria User Format Sets Dir": "/Users/dwolfson/localGit/egeria-python/egeria-python/config"
28
+ "Pyegeria User Report Specs Dir": "~/.pyegeria/report_specs"
29
29
  },
30
- "feature_x_enabled": "foo",
30
+ "feature_x_enabled": false,
31
31
  "Logging": {
32
32
  "console_filter_levels": [
33
33
  "ERROR"