pyegeria 5.3.8.2__tar.gz → 5.3.8.4__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.
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/PKG-INFO +1 -1
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/__init__.py +3 -1
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/_client.py +50 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/dr_egeria_md.py +50 -47
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/glossary_actions.py +1 -1
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_categories.py +9 -2
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_glossaries.py +11 -1
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_terms.py +2 -1
- pyegeria-5.3.8.4/pyegeria/glossary_browser_omvs.py +3463 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/glossary_manager_omvs.py +147 -7
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/md_processing_utils.py +456 -88
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/project_manager_omvs.py +11 -6
- pyegeria-5.3.8.4/pyegeria/solution_architect_omvs.py +2156 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/template_manager_omvs.py +9 -4
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyproject.toml +1 -1
- pyegeria-5.3.8.2/pyegeria/glossary_browser_omvs.py +0 -2792
- pyegeria-5.3.8.2/pyegeria/solution_architect_omvs.py +0 -666
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/LICENSE +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/_exceptions.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/_globals.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/_validators.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/__init__.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/Dr-Egeria_md-orig.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/__init__.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/dr_egeria_inbox/glossary_creation_experiment.ipynb +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/dr_egeria_jupyter.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/exp_list_glossaries.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/get_collection.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/get_project_structure.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_assets.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_cert_types.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_collections.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_deployed_catalogs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_deployed_database_schemas.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_deployed_databases.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_deployed_servers.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_projects.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_tech_type_elements.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_tech_types.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_todos.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cat/list_user_ids.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/__init__.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/egeria.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/egeria_cat.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/egeria_login_tui.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/egeria_my.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/egeria_ops.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/egeria_tech.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/ops_config.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/cli/txt_custom_v2.tcss +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/basic-glossary-tui.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/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
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/__init__.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/list_my_profile.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/list_my_roles.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/my/todo_actions.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/__init__.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/gov_server_actions.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/list_archives.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/load_archive.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_engine_activity.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_server_startup.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/orig_monitor_server_list.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/orig_monitor_server_status.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/table_integ_daemon_status.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/ops/x_engine_actions.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/README.md +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/__init__.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/get_element_info.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/get_guid_info.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/get_tech_details.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/get_tech_type_template.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_all_om_type_elements.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_all_om_type_elements_x.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_all_related_elements.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_anchored_elements.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_asset_types.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_elements_by_property_value.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_elements_by_property_value_x.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_elements_for_classification.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_gov_action_processes.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_information_supply_chains.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_registered_services.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_related_elements_with_prop_value.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_related_specification.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_relationships.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_solution_blueprints.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_solution_components.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_solution_roles.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/table_tech_templates.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/dr.egeria spec.md +0 -0
- /pyegeria-5.3.8.2/pyegeria/shared_state.py → /pyegeria-5.3.8.4/pyegeria/dr_egeria_state.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/egeria_cat_client.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/egeria_client.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/egeria_config_client.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/egeria_my_client.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/egeria_tech_client.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/m_test.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/md_processing_helpers.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/md_processing_utils_orig.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/mermaid_utilities.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/metadata_explorer_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/platform_services.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/registered_info.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/server_operations.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/utils.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/valid_metadata_omvs.py +0 -0
- {pyegeria-5.3.8.2 → pyegeria-5.3.8.4}/pyegeria/x_action_author_omvs.py +0 -0
@@ -94,7 +94,9 @@ from .md_processing_utils import (extract_command, process_glossary_upsert_comma
|
|
94
94
|
process_categories_upsert_command,
|
95
95
|
get_current_datetime_string, process_per_proj_upsert_command, command_list,
|
96
96
|
render_markdown, process_provenance_command, process_blueprint_upsert_command,
|
97
|
-
process_solution_component_upsert_command
|
97
|
+
process_solution_component_upsert_command, process_set_categories_parent_command,
|
98
|
+
process_term_list_command, process_glossary_list_command,process_category_list_command,
|
99
|
+
process_term_history_command,)
|
98
100
|
|
99
101
|
#
|
100
102
|
# The following assignments were generated by the `create_tech_guid_lists.py` utility that uses the pyegeria functions
|
@@ -784,5 +784,55 @@ class Client:
|
|
784
784
|
q_name = f"{q_name}::{version_identifier}"
|
785
785
|
return q_name
|
786
786
|
|
787
|
+
def make_preamble(self, obj_type: str, search_string: str, output_format: str = 'MD') -> tuple[str, str | None]:
|
788
|
+
"""
|
789
|
+
Creates a preamble string and an elements action based on the given object type, search string,
|
790
|
+
and output format. The preamble provides a descriptive header based on the intent: To make a form,
|
791
|
+
a report, or unadorned markdwon. The elements action specifies the action to be taken on the object type.
|
792
|
+
|
793
|
+
Args:
|
794
|
+
obj_type: The type of object being updated or reported on (e.g., "Product", "Category").
|
795
|
+
search_string: The search string used to filter objects. Defaults to "All Terms" if None.
|
796
|
+
output_format: A format identifier determining the output structure.
|
797
|
+
JSON - output standard json
|
798
|
+
MD - output standard markdown with no preamble
|
799
|
+
FORM - output markdown with a preamble for a form
|
800
|
+
REPORT - output markdown with a preamble for a report
|
801
|
+
|
802
|
+
Returns:
|
803
|
+
tuple: A tuple containing:
|
804
|
+
- A string representing the formatted update or report preamble.
|
805
|
+
- A string or None indicating the action description for the elements,
|
806
|
+
depending on the output format.
|
807
|
+
"""
|
808
|
+
search_string = search_string if search_string else "All Elements"
|
809
|
+
elements_action = "Update " + obj_type
|
810
|
+
if output_format == "FORM":
|
811
|
+
preamble = (f"\n# Update {obj_type} Form - created at {datetime.now().strftime('%Y-%m-%d %H:%M')}\n"
|
812
|
+
f"\t {obj_type} found from the search string: `{search_string}`\n\n")
|
813
|
+
|
814
|
+
return preamble, elements_action
|
815
|
+
elif output_format == "REPORT":
|
816
|
+
elements_md = (f"# {obj_type} Report - created at {datetime.now().strftime('%Y-%m-%d %H:%M')}\n"
|
817
|
+
f"\t{obj_type} found from the search string: `{search_string}`\n\n")
|
818
|
+
elements_action = None
|
819
|
+
return elements_md, elements_action
|
820
|
+
|
821
|
+
else:
|
822
|
+
return "\n", elements_action
|
823
|
+
|
824
|
+
def make_md_attribute(self, attribute_name: str, attribute_value: str, output_type: str) -> str | None:
|
825
|
+
""" Create a markdown attribute line for a given attribute name and value."""
|
826
|
+
output = ""
|
827
|
+
attribute_value = attribute_value.strip() if attribute_value else ""
|
828
|
+
attribute_title = attribute_name.title() if attribute_name else ""
|
829
|
+
if output_type in ["FORM", "MD"]:
|
830
|
+
output = f"## {attribute_title}\n{attribute_value}\n\n"
|
831
|
+
elif output_type == "REPORT":
|
832
|
+
if attribute_value:
|
833
|
+
output = f"## {attribute_title}\n{attribute_value}\n\n"
|
834
|
+
return output
|
835
|
+
|
836
|
+
|
787
837
|
if __name__ == "__main__":
|
788
838
|
print("Main-__client")
|
@@ -1,34 +1,27 @@
|
|
1
1
|
"""
|
2
2
|
This is an ongoing experiment in parsing and playing with Freddie docs
|
3
3
|
"""
|
4
|
-
import argparse
|
5
|
-
import json
|
6
4
|
import os
|
5
|
+
from datetime import datetime
|
6
|
+
|
7
|
+
import click
|
7
8
|
from rich import print
|
8
9
|
from rich.console import Console
|
9
|
-
from rich.prompt import Prompt
|
10
10
|
|
11
|
-
|
12
|
-
import click
|
13
11
|
from pyegeria import (extract_command, process_glossary_upsert_command, process_term_upsert_command,
|
14
12
|
process_categories_upsert_command, process_provenance_command,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
)
|
19
|
-
from datetime import datetime
|
13
|
+
process_set_categories_parent_command, get_current_datetime_string,
|
14
|
+
process_per_proj_upsert_command, command_list, EgeriaTech, process_blueprint_upsert_command,
|
15
|
+
process_solution_component_upsert_command, dr_egeria_state, process_term_list_command,
|
16
|
+
process_category_list_command, process_glossary_list_command, process_term_history_command)
|
20
17
|
|
21
18
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
22
19
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
23
20
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
24
21
|
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
25
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
26
|
-
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
27
|
-
)
|
22
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get("EGERIA_VIEW_SERVER_URL", "https://localhost:9443")
|
28
23
|
EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
|
29
|
-
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
30
|
-
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
31
|
-
)
|
24
|
+
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get("EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443")
|
32
25
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
33
26
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
34
27
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
@@ -41,26 +34,17 @@ EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/
|
|
41
34
|
EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/dr_egeria_inbox")
|
42
35
|
EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/dr_egeria_outbox")
|
43
36
|
|
37
|
+
|
44
38
|
@click.command("process_markdown_file", help="Process a markdown file and return the output as a string.")
|
45
|
-
@click.option("--file-path", help="File path to markdown file",
|
46
|
-
|
39
|
+
@click.option("--file-path", help="File path to markdown file", default="glossary_test1.md", required=True,
|
40
|
+
prompt=False)
|
47
41
|
@click.option("--directive", default="display", help="How to process the file",
|
48
|
-
type=click.Choice(["display","validate","process"],case_sensitive=False), prompt=False,)
|
42
|
+
type=click.Choice(["display", "validate", "process"], case_sensitive=False), prompt=False, )
|
49
43
|
@click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use.")
|
50
|
-
@click.option(
|
51
|
-
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
52
|
-
)
|
53
|
-
|
44
|
+
@click.option("--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to")
|
54
45
|
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
55
46
|
@click.option("--user_pass", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
56
|
-
def process_markdown_file(
|
57
|
-
file_path: str,
|
58
|
-
directive: str,
|
59
|
-
server: str,
|
60
|
-
url: str,
|
61
|
-
userid: str,
|
62
|
-
user_pass: str,
|
63
|
-
)-> None:
|
47
|
+
def process_markdown_file(file_path: str, directive: str, server: str, url: str, userid: str, user_pass: str, ) -> None:
|
64
48
|
"""
|
65
49
|
Process a markdown file by parsing and executing Dr. Egeria commands. Write output to a new file.
|
66
50
|
"""
|
@@ -82,12 +66,11 @@ def process_markdown_file(
|
|
82
66
|
final_output = []
|
83
67
|
prov_found = False
|
84
68
|
prov_output = (f"\n# Provenance\n\n* Results from processing file {file_path} on "
|
85
|
-
|
69
|
+
f"{datetime.now().strftime("%Y-%m-%d %H:%M")}\n")
|
86
70
|
h1_blocks = []
|
87
71
|
current_block = ""
|
88
72
|
in_h1_block = False
|
89
73
|
|
90
|
-
|
91
74
|
# Helper function to process the current block
|
92
75
|
def process_current_block(current_block):
|
93
76
|
nonlocal updated, final_output, prov_found, prov_output, h1_blocks, in_h1_block
|
@@ -103,31 +86,51 @@ def process_markdown_file(
|
|
103
86
|
prov_found = True
|
104
87
|
|
105
88
|
elif potential_command in ["Create Glossary", "Update Glossary"]:
|
106
|
-
result = process_glossary_upsert_command(client,
|
89
|
+
result = process_glossary_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
90
|
+
current_block, directive)
|
107
91
|
elif potential_command in ["Create Category", "Update Category"]:
|
108
|
-
result = process_categories_upsert_command(client,
|
92
|
+
result = process_categories_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
93
|
+
current_block, directive)
|
94
|
+
elif potential_command in ["Set Parent Category", "UnSet Parent Category"]:
|
95
|
+
result = process_set_categories_parent_command(client, dr_egeria_state.get_element_dictionary(),
|
96
|
+
current_block, directive)
|
109
97
|
elif potential_command in ["Create Term", "Update Term"]:
|
110
|
-
result = process_term_upsert_command(client,
|
98
|
+
result = process_term_upsert_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
99
|
+
directive)
|
100
|
+
elif potential_command in ["List Term History", "Term History"]:
|
101
|
+
result = process_term_history_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
102
|
+
directive)
|
103
|
+
elif potential_command in ["List Terms", "List Glossary Terms"]:
|
104
|
+
result = process_term_list_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
105
|
+
directive)
|
106
|
+
elif potential_command in ["List Categories", "List Glossary Categories"]:
|
107
|
+
result = process_category_list_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
108
|
+
directive)
|
109
|
+
elif potential_command in ["List Glossaries"]:
|
110
|
+
result = process_glossary_list_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
111
|
+
directive)
|
111
112
|
elif potential_command in ["Create Personal Project", "Update Personal Project"]:
|
112
|
-
result = process_per_proj_upsert_command(client,
|
113
|
-
|
114
|
-
|
113
|
+
result = process_per_proj_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
114
|
+
current_block, directive)
|
115
|
+
elif potential_command in ["Create Blueprint", "Update Blueprint", "Create Solution Blueprint",
|
116
|
+
"Update Solution Blueprint"]:
|
117
|
+
result = process_blueprint_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
118
|
+
current_block, directive)
|
115
119
|
elif potential_command in ["Create Solution Component", "Update Solution Component"]:
|
116
|
-
result = process_solution_component_upsert_command(client,
|
120
|
+
result = process_solution_component_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
121
|
+
current_block, directive)
|
117
122
|
|
118
123
|
|
119
124
|
else:
|
120
125
|
# If command is not recognized, keep the block as-is
|
121
126
|
result = None
|
122
|
-
# print(json.dumps(
|
127
|
+
# print(json.dumps(dr_egeria_state.get_element_dictionary(), indent=4))
|
123
128
|
if result:
|
124
129
|
if directive == "process":
|
125
130
|
updated = True
|
126
|
-
final_output.append(result)
|
127
|
-
# print(json.dumps(shared_state.get_element_dictionary(), indent=4))
|
131
|
+
final_output.append(result) # print(json.dumps(dr_egeria_state.get_element_dictionary(), indent=4))
|
128
132
|
elif directive == "validate":
|
129
|
-
pass
|
130
|
-
# print(json.dumps(shared_state.get_element_dictionary(), indent=4))
|
133
|
+
pass # print(json.dumps(dr_egeria_state.get_element_dictionary(), indent=4))
|
131
134
|
elif directive == "process":
|
132
135
|
# Handle errors (skip this block but notify the user)
|
133
136
|
print(f"\n==>\tErrors found while processing command: \'{potential_command}\'\n"
|
@@ -175,7 +178,6 @@ def process_markdown_file(
|
|
175
178
|
# Join the final output list into a single string
|
176
179
|
final_output = "\n".join(final_output)
|
177
180
|
|
178
|
-
|
179
181
|
try:
|
180
182
|
if updated:
|
181
183
|
path, filename = os.path.split(file_path) # Get both parts
|
@@ -213,7 +215,8 @@ def process_markdown_file(
|
|
213
215
|
# time_out = args.time_out if args.time_out is not None else 60
|
214
216
|
# try:
|
215
217
|
# file_path = Prompt.ask("Markdown File name to process:", default="")
|
216
|
-
# directive = Prompt.ask("Processing Directive:", choices=[ "display", "validate", "process"],
|
218
|
+
# directive = Prompt.ask("Processing Directive:", choices=[ "display", "validate", "process"],
|
219
|
+
# default="validate")
|
217
220
|
#
|
218
221
|
# process_markdown_file(file_path, directive, server, url, userid, user_pass)
|
219
222
|
# except KeyboardInterrupt:
|
@@ -128,7 +128,7 @@ def delete_glossary(server, url, userid, password, timeout, glossary_guid):
|
|
128
128
|
m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
|
129
129
|
token = m_client.create_egeria_bearer_token()
|
130
130
|
try:
|
131
|
-
m_client.delete_glossary(glossary_guid)
|
131
|
+
m_client.delete_glossary(glossary_guid, cascade = True)
|
132
132
|
|
133
133
|
click.echo(f"Deleted glossary: {glossary_guid}")
|
134
134
|
|
@@ -119,7 +119,8 @@ def display_categories(
|
|
119
119
|
"Qualified Name & GUID", width=38, no_wrap=True, justify="center"
|
120
120
|
)
|
121
121
|
table.add_column("Description")
|
122
|
-
table.add_column("In Glossary
|
122
|
+
table.add_column("In Glossary")
|
123
|
+
table.add_column("Parent Category")
|
123
124
|
|
124
125
|
categories = m_client.find_glossary_categories(search_string)
|
125
126
|
if type(categories) is list:
|
@@ -138,8 +139,14 @@ def display_categories(
|
|
138
139
|
glossary_guid = classification_props.get('anchorGUID','---')
|
139
140
|
glossary_qualified_name = (
|
140
141
|
m_client.get_glossary_by_guid(glossary_guid))['glossaryProperties']['qualifiedName']
|
142
|
+
cat_info = m_client.get_category_parent(category_guid)
|
143
|
+
if type(cat_info) is dict:
|
144
|
+
parent_qn = cat_info['glossaryCategoryProperties']['qualifiedName']
|
145
|
+
else:
|
146
|
+
parent_qn = '---'
|
141
147
|
|
142
|
-
|
148
|
+
|
149
|
+
table.add_row(display_name, q_name, description, glossary_qualified_name, parent_qn)
|
143
150
|
console = Console(
|
144
151
|
style="bold bright_white on black",
|
145
152
|
width=width,
|
@@ -15,6 +15,7 @@ import time
|
|
15
15
|
|
16
16
|
from rich import box
|
17
17
|
from rich.console import Console
|
18
|
+
from rich.markdown import Markdown
|
18
19
|
from rich.prompt import Prompt
|
19
20
|
from rich.table import Table
|
20
21
|
from rich.text import Text
|
@@ -128,6 +129,7 @@ def display_glossaries(
|
|
128
129
|
table.add_column("Language")
|
129
130
|
table.add_column("Description")
|
130
131
|
table.add_column("Usage")
|
132
|
+
table.add_column("Categories")
|
131
133
|
|
132
134
|
glossaries = m_client.find_glossaries(search_string)
|
133
135
|
if type(glossaries) is list:
|
@@ -142,7 +144,15 @@ def display_glossaries(
|
|
142
144
|
language = glossary["glossaryProperties"].get("language",'---')
|
143
145
|
description = glossary["glossaryProperties"].get("description",'---')
|
144
146
|
usage = glossary["glossaryProperties"].get("usage",'---')
|
145
|
-
|
147
|
+
|
148
|
+
categories = m_client.get_categories_for_glossary(guid)
|
149
|
+
cat_md = ''
|
150
|
+
if type(categories) is list:
|
151
|
+
for category in categories:
|
152
|
+
cat_md += f"* {category['glossaryCategoryProperties'][('displayName')]}\n"
|
153
|
+
cat_md = cat_md.strip()
|
154
|
+
|
155
|
+
table.add_row(display_name, q_name, language, description, usage, Markdown(cat_md))
|
146
156
|
|
147
157
|
console.print(table)
|
148
158
|
|
@@ -189,7 +189,7 @@ def display_glossary_terms(
|
|
189
189
|
)
|
190
190
|
abbrev = Text(props.get("abbreviation", " "), style=style, justify="center")
|
191
191
|
summary = Text(props.get("summary", " "), style=style)
|
192
|
-
description =
|
192
|
+
description = Markdown(props.get("description"))
|
193
193
|
version = Text(
|
194
194
|
props.get("publishVersionIdentifier", " "),
|
195
195
|
style=style,
|
@@ -223,6 +223,7 @@ def display_glossary_terms(
|
|
223
223
|
category_list_md += f"* {category_name}\n"
|
224
224
|
term_abb_ver_out = Markdown(f"{display_name}\n---\n{abbrev}\n---\n{version}")
|
225
225
|
category_list_out = Markdown(category_list_md)
|
226
|
+
|
226
227
|
term_status = term["elementHeader"].get("status","---")
|
227
228
|
table.add_row(
|
228
229
|
term_abb_ver_out,
|