pyegeria 5.3.8.1__tar.gz → 5.3.8.3__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.1 → pyegeria-5.3.8.3}/PKG-INFO +1 -1
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/__init__.py +2 -1
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/_client.py +50 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/dr_egeria_md.py +42 -48
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_categories.py +8 -1
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/glossary_browser_omvs.py +882 -104
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/glossary_manager_omvs.py +137 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/md_processing_utils.py +272 -78
- pyegeria-5.3.8.3/pyegeria/solution_architect_omvs.py +2156 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyproject.toml +1 -1
- pyegeria-5.3.8.1/pyegeria/solution_architect_omvs.py +0 -666
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/LICENSE +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/_exceptions.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/_globals.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/_validators.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/__init__.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/Dr-Egeria_md-orig.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/__init__.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/dr_egeria_inbox/glossary_creation_experiment.ipynb +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/dr_egeria_jupyter.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/exp_list_glossaries.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/get_collection.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/get_project_structure.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/glossary_actions.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_assets.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_cert_types.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_collections.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_deployed_catalogs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_deployed_database_schemas.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_deployed_databases.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_deployed_servers.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_glossaries.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_projects.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_tech_type_elements.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_tech_types.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_terms.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_todos.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cat/list_user_ids.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/__init__.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/egeria.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/egeria_cat.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/egeria_login_tui.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/egeria_my.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/egeria_ops.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/egeria_tech.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/ops_config.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/cli/txt_custom_v2.tcss +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/Visual Command Reference/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/basic-glossary-tui.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/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.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/__init__.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/list_my_profile.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/list_my_roles.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/my/todo_actions.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/__init__.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/gov_server_actions.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/list_archives.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/load_archive.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_engine_activity.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_server_startup.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/orig_monitor_server_list.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/orig_monitor_server_status.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/table_integ_daemon_status.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/ops/x_engine_actions.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/README.md +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/__init__.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/get_element_info.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/get_guid_info.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/get_tech_details.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/get_tech_type_template.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_all_om_type_elements.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_all_om_type_elements_x.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_all_related_elements.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_anchored_elements.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_asset_types.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_elements_by_property_value.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_elements_by_property_value_x.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_elements_for_classification.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_gov_action_processes.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_information_supply_chains.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_registered_services.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_related_elements_with_prop_value.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_related_specification.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_relationships.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_solution_blueprints.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_solution_components.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_solution_roles.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/table_tech_templates.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/dr.egeria spec.md +0 -0
- /pyegeria-5.3.8.1/pyegeria/shared_state.py → /pyegeria-5.3.8.3/pyegeria/dr_egeria_state.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/egeria_cat_client.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/egeria_client.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/egeria_config_client.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/egeria_my_client.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/egeria_tech_client.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/m_test.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/md_processing_helpers.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/md_processing_utils_orig.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/mermaid_utilities.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/metadata_explorer_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/platform_services.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/registered_info.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/server_operations.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/template_manager_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/utils.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/valid_metadata_omvs.py +0 -0
- {pyegeria-5.3.8.1 → pyegeria-5.3.8.3}/pyegeria/x_action_author_omvs.py +0 -0
@@ -94,7 +94,8 @@ 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)
|
98
99
|
|
99
100
|
#
|
100
101
|
# 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,26 @@
|
|
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)
|
20
16
|
|
21
17
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
22
18
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
23
19
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
24
20
|
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
|
-
)
|
21
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get("EGERIA_VIEW_SERVER_URL", "https://localhost:9443")
|
28
22
|
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
|
-
)
|
23
|
+
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get("EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443")
|
32
24
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
33
25
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
34
26
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
@@ -41,26 +33,17 @@ EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/
|
|
41
33
|
EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/dr_egeria_inbox")
|
42
34
|
EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/dr_egeria_outbox")
|
43
35
|
|
36
|
+
|
44
37
|
@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
|
-
|
38
|
+
@click.option("--file-path", help="File path to markdown file", default="glossary_test1.md", required=True,
|
39
|
+
prompt=False)
|
47
40
|
@click.option("--directive", default="display", help="How to process the file",
|
48
|
-
type=click.Choice(["display","validate","process"],case_sensitive=False), prompt=False,)
|
41
|
+
type=click.Choice(["display", "validate", "process"], case_sensitive=False), prompt=False, )
|
49
42
|
@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
|
-
|
43
|
+
@click.option("--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to")
|
54
44
|
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
55
45
|
@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:
|
46
|
+
def process_markdown_file(file_path: str, directive: str, server: str, url: str, userid: str, user_pass: str, ) -> None:
|
64
47
|
"""
|
65
48
|
Process a markdown file by parsing and executing Dr. Egeria commands. Write output to a new file.
|
66
49
|
"""
|
@@ -82,12 +65,11 @@ def process_markdown_file(
|
|
82
65
|
final_output = []
|
83
66
|
prov_found = False
|
84
67
|
prov_output = (f"\n# Provenance\n\n* Results from processing file {file_path} on "
|
85
|
-
|
68
|
+
f"{datetime.now().strftime("%Y-%m-%d %H:%M")}\n")
|
86
69
|
h1_blocks = []
|
87
70
|
current_block = ""
|
88
71
|
in_h1_block = False
|
89
72
|
|
90
|
-
|
91
73
|
# Helper function to process the current block
|
92
74
|
def process_current_block(current_block):
|
93
75
|
nonlocal updated, final_output, prov_found, prov_output, h1_blocks, in_h1_block
|
@@ -103,31 +85,42 @@ def process_markdown_file(
|
|
103
85
|
prov_found = True
|
104
86
|
|
105
87
|
elif potential_command in ["Create Glossary", "Update Glossary"]:
|
106
|
-
result = process_glossary_upsert_command(client,
|
88
|
+
result = process_glossary_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
89
|
+
current_block, directive)
|
107
90
|
elif potential_command in ["Create Category", "Update Category"]:
|
108
|
-
result = process_categories_upsert_command(client,
|
91
|
+
result = process_categories_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
92
|
+
current_block, directive)
|
93
|
+
elif potential_command in ["Set Parent Category", "UnSet Parent Category"]:
|
94
|
+
result = process_set_categories_parent_command(client, dr_egeria_state.get_element_dictionary(),
|
95
|
+
current_block, directive)
|
109
96
|
elif potential_command in ["Create Term", "Update Term"]:
|
110
|
-
result = process_term_upsert_command(client,
|
97
|
+
result = process_term_upsert_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
98
|
+
directive)
|
99
|
+
elif potential_command in ["List Terms", "List Glossary Terms"]:
|
100
|
+
result = process_term_list_command(client, dr_egeria_state.get_element_dictionary(), current_block,
|
101
|
+
directive)
|
111
102
|
elif potential_command in ["Create Personal Project", "Update Personal Project"]:
|
112
|
-
result = process_per_proj_upsert_command(client,
|
113
|
-
|
114
|
-
|
103
|
+
result = process_per_proj_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
104
|
+
current_block, directive)
|
105
|
+
elif potential_command in ["Create Blueprint", "Update Blueprint", "Create Solution Blueprint",
|
106
|
+
"Update Solution Blueprint"]:
|
107
|
+
result = process_blueprint_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
108
|
+
current_block, directive)
|
115
109
|
elif potential_command in ["Create Solution Component", "Update Solution Component"]:
|
116
|
-
result = process_solution_component_upsert_command(client,
|
110
|
+
result = process_solution_component_upsert_command(client, dr_egeria_state.get_element_dictionary(),
|
111
|
+
current_block, directive)
|
117
112
|
|
118
113
|
|
119
114
|
else:
|
120
115
|
# If command is not recognized, keep the block as-is
|
121
116
|
result = None
|
122
|
-
# print(json.dumps(
|
117
|
+
# print(json.dumps(dr_egeria_state.get_element_dictionary(), indent=4))
|
123
118
|
if result:
|
124
119
|
if directive == "process":
|
125
120
|
updated = True
|
126
|
-
final_output.append(result)
|
127
|
-
# print(json.dumps(shared_state.get_element_dictionary(), indent=4))
|
121
|
+
final_output.append(result) # print(json.dumps(dr_egeria_state.get_element_dictionary(), indent=4))
|
128
122
|
elif directive == "validate":
|
129
|
-
pass
|
130
|
-
# print(json.dumps(shared_state.get_element_dictionary(), indent=4))
|
123
|
+
pass # print(json.dumps(dr_egeria_state.get_element_dictionary(), indent=4))
|
131
124
|
elif directive == "process":
|
132
125
|
# Handle errors (skip this block but notify the user)
|
133
126
|
print(f"\n==>\tErrors found while processing command: \'{potential_command}\'\n"
|
@@ -175,7 +168,6 @@ def process_markdown_file(
|
|
175
168
|
# Join the final output list into a single string
|
176
169
|
final_output = "\n".join(final_output)
|
177
170
|
|
178
|
-
|
179
171
|
try:
|
180
172
|
if updated:
|
181
173
|
path, filename = os.path.split(file_path) # Get both parts
|
@@ -189,7 +181,8 @@ def process_markdown_file(
|
|
189
181
|
f2.write(prov_output)
|
190
182
|
click.echo(f"\n==> Output written to {new_file_path}")
|
191
183
|
else:
|
192
|
-
|
184
|
+
if directive != 'display':
|
185
|
+
click.echo("\nNo updates detected. New File not created.")
|
193
186
|
|
194
187
|
except (Exception):
|
195
188
|
console.print_exception(show_locals=True)
|
@@ -212,7 +205,8 @@ def process_markdown_file(
|
|
212
205
|
# time_out = args.time_out if args.time_out is not None else 60
|
213
206
|
# try:
|
214
207
|
# file_path = Prompt.ask("Markdown File name to process:", default="")
|
215
|
-
# directive = Prompt.ask("Processing Directive:", choices=[ "display", "validate", "process"],
|
208
|
+
# directive = Prompt.ask("Processing Directive:", choices=[ "display", "validate", "process"],
|
209
|
+
# default="validate")
|
216
210
|
#
|
217
211
|
# process_markdown_file(file_path, directive, server, url, userid, user_pass)
|
218
212
|
# except KeyboardInterrupt:
|
@@ -120,6 +120,7 @@ def display_categories(
|
|
120
120
|
)
|
121
121
|
table.add_column("Description")
|
122
122
|
table.add_column("In Glossary (Qualified Name)")
|
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,
|