pyegeria 5.2.1.1__py3-none-any.whl → 5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- commands/cat/.DS_Store +0 -0
- commands/cat/Dr-Egeria_md-orig.py +166 -0
- commands/cat/__init__.py +23 -0
- commands/cat/dr_egeria_jupyter.py +122 -0
- commands/cat/dr_egeria_md.py +247 -0
- {pyegeria/commands → commands}/cat/exp_list_glossaries.py +3 -4
- {pyegeria/commands → commands}/cat/get_asset_graph.py +4 -4
- {pyegeria/commands → commands}/cat/get_collection.py +8 -9
- {pyegeria/commands → commands}/cat/get_project_dependencies.py +6 -8
- {pyegeria/commands → commands}/cat/get_project_structure.py +6 -8
- {pyegeria/commands → commands}/cat/get_tech_type_elements.py +13 -15
- {pyegeria/commands → commands}/cat/glossary_actions.py +184 -34
- {pyegeria/commands → commands}/cat/list_assets.py +9 -6
- commands/cat/list_categories.py +192 -0
- {pyegeria/commands → commands}/cat/list_cert_types.py +6 -6
- {pyegeria/commands → commands}/cat/list_collections.py +62 -19
- commands/cat/list_data_structures.py +223 -0
- {pyegeria/commands → commands}/cat/list_deployed_catalogs.py +9 -8
- {pyegeria/commands → commands}/cat/list_deployed_database_schemas.py +10 -9
- {pyegeria/commands → commands}/cat/list_deployed_databases.py +9 -8
- pyegeria/commands/cat/list_servers_deployed_imp.py → commands/cat/list_deployed_servers.py +3 -3
- {pyegeria/commands → commands}/cat/list_glossaries.py +57 -15
- {pyegeria/commands → commands}/cat/list_projects.py +5 -5
- {pyegeria/commands → commands}/cat/list_tech_type_elements.py +3 -3
- {pyegeria/commands → commands}/cat/list_tech_types.py +4 -4
- {pyegeria/commands → commands}/cat/list_terms.py +93 -45
- {pyegeria/commands → commands}/cat/list_todos.py +3 -3
- {pyegeria/commands → commands}/cat/list_user_ids.py +9 -8
- {pyegeria/commands → commands}/cli/__init__.py +1 -1
- {pyegeria/commands → commands}/cli/egeria.py +506 -250
- {pyegeria/commands → commands}/cli/egeria_cat.py +127 -50
- {pyegeria/commands → commands}/cli/egeria_login_tui.py +15 -17
- {pyegeria/commands → commands}/cli/egeria_my.py +22 -15
- {pyegeria/commands → commands}/cli/egeria_ops.py +54 -55
- {pyegeria/commands → commands}/cli/egeria_tech.py +364 -152
- {pyegeria/commands → commands}/cli/ops_config.py +11 -4
- commands/cli/txt_custom_v2.tcss +19 -0
- commands/my/__init__.py +22 -0
- {pyegeria/commands → commands}/my/list_my_profile.py +6 -8
- {pyegeria/commands → commands}/my/list_my_roles.py +4 -4
- {pyegeria/commands → commands}/my/monitor_my_todos.py +7 -7
- {pyegeria/commands → commands}/my/monitor_open_todos.py +7 -7
- {pyegeria/commands → commands}/my/todo_actions.py +3 -2
- commands/ops/__init__.py +23 -0
- {pyegeria/commands → commands}/ops/gov_server_actions.py +5 -4
- {pyegeria/commands → commands}/ops/list_archives.py +7 -6
- {pyegeria/commands → commands}/ops/list_catalog_targets.py +4 -4
- {pyegeria/commands → commands}/ops/load_archive.py +4 -2
- {pyegeria/commands → commands}/ops/monitor_asset_events.py +8 -7
- {pyegeria/commands → commands}/ops/monitor_engine_activity.py +5 -5
- {pyegeria/commands → commands}/ops/monitor_engine_activity_c.py +3 -3
- {pyegeria/commands → commands}/ops/monitor_gov_eng_status.py +3 -2
- {pyegeria/commands → commands}/ops/monitor_integ_daemon_status.py +23 -15
- {pyegeria/commands → commands}/ops/monitor_platform_status.py +5 -4
- {pyegeria/commands → commands}/ops/monitor_server_startup.py +7 -7
- {pyegeria/commands → commands}/ops/monitor_server_status.py +16 -11
- {pyegeria/commands → commands}/ops/orig_monitor_server_list.py +2 -2
- {pyegeria/commands → commands}/ops/orig_monitor_server_status.py +3 -3
- {pyegeria/commands → commands}/ops/refresh_integration_daemon.py +4 -4
- {pyegeria/commands → commands}/ops/restart_integration_daemon.py +3 -3
- {pyegeria/commands → commands}/ops/table_integ_daemon_status.py +3 -3
- commands/tech/__init__.py +22 -0
- commands/tech/generic_actions.py +74 -0
- {pyegeria/commands → commands}/tech/get_element_info.py +5 -7
- {pyegeria/commands → commands}/tech/get_guid_info.py +4 -5
- {pyegeria/commands → commands}/tech/get_tech_details.py +8 -9
- {pyegeria/commands → commands}/tech/get_tech_type_template.py +4 -4
- pyegeria/commands/tech/list_elements.py → commands/tech/list_all_om_type_elements.py +11 -10
- pyegeria/commands/tech/list_elements_x.py → commands/tech/list_all_om_type_elements_x.py +11 -12
- pyegeria/commands/tech/list_related_elements.py → commands/tech/list_all_related_elements.py +11 -9
- {pyegeria/commands → commands}/tech/list_anchored_elements.py +16 -16
- {pyegeria/commands → commands}/tech/list_asset_types.py +4 -4
- commands/tech/list_elements_by_classification_by_property_value.py +200 -0
- commands/tech/list_elements_by_property_value.py +180 -0
- commands/tech/list_elements_by_property_value_x.py +201 -0
- {pyegeria/commands → commands}/tech/list_elements_for_classification.py +11 -9
- {pyegeria/commands → commands}/tech/list_gov_action_processes.py +5 -6
- commands/tech/list_information_supply_chains.py +167 -0
- {pyegeria/commands → commands}/tech/list_registered_services.py +3 -3
- commands/tech/list_related_elements_with_prop_value.py +221 -0
- {pyegeria/commands → commands}/tech/list_related_specification.py +3 -3
- {pyegeria/commands → commands}/tech/list_relationship_types.py +4 -5
- {pyegeria/commands → commands}/tech/list_relationships.py +3 -3
- commands/tech/list_solution_blueprints.py +181 -0
- commands/tech/list_solution_components.py +185 -0
- commands/tech/list_solution_roles.py +184 -0
- {pyegeria/commands → commands}/tech/list_tech_templates.py +3 -3
- {pyegeria/commands → commands}/tech/list_valid_metadata_values.py +5 -6
- {pyegeria/commands → commands}/tech/table_tech_templates.py +16 -13
- {pyegeria/commands → commands}/tech/x_list_related_elements.py +6 -4
- md_processing/__init__.py +49 -0
- md_processing/data/commands.json +3252 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro.md +254 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_more_terms.md +696 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part1.md +254 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part2.md +298 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part3.md +608 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part4.md +94 -0
- md_processing/dr_egeria_inbox/archive/freddie_intro.md +284 -0
- md_processing/dr_egeria_inbox/archive/freddie_intro_orig.md +275 -0
- md_processing/dr_egeria_inbox/archive/test-term.md +110 -0
- md_processing/dr_egeria_inbox/cat_test.md +100 -0
- md_processing/dr_egeria_inbox/data_field.md +54 -0
- md_processing/dr_egeria_inbox/data_spec.md +77 -0
- md_processing/dr_egeria_inbox/data_spec_test.md +2406 -0
- md_processing/dr_egeria_inbox/data_test.md +86 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_categories.md +168 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part1.md +280 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part2.md +313 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part3.md +1073 -0
- md_processing/dr_egeria_inbox/dr_egeria_isc1.md +44 -0
- md_processing/dr_egeria_inbox/glossary_creation_experiment.ipynb +341 -0
- md_processing/dr_egeria_inbox/glossary_test1.md +324 -0
- md_processing/dr_egeria_inbox/rel.md +8 -0
- md_processing/dr_egeria_inbox/sb.md +119 -0
- md_processing/dr_egeria_inbox/search_test.md +39 -0
- md_processing/dr_egeria_inbox/solution-components.md +154 -0
- md_processing/dr_egeria_inbox/solution_blueprints.md +118 -0
- md_processing/dr_egeria_inbox/synonym_test.md +42 -0
- md_processing/dr_egeria_inbox/t2.md +268 -0
- md_processing/dr_egeria_outbox/processed-2025-05-15 19:52-data_test.md +94 -0
- md_processing/dr_egeria_outbox/processed-2025-05-16 07:39-data_test.md +88 -0
- md_processing/dr_egeria_outbox/processed-2025-05-17 16:01-data_field.md +56 -0
- md_processing/dr_egeria_outbox/processed-2025-05-18 15:51-data_test.md +103 -0
- md_processing/dr_egeria_outbox/processed-2025-05-18 16:47-data_test.md +94 -0
- md_processing/dr_egeria_outbox/processed-2025-05-19 07:14-data_test.md +96 -0
- md_processing/dr_egeria_outbox/processed-2025-05-19 07:20-data_test.md +100 -0
- md_processing/dr_egeria_outbox/processed-2025-05-19 07:22-data_test.md +88 -0
- md_processing/dr_egeria_outbox/processed-2025-05-19 09:26-data_test.md +91 -0
- md_processing/dr_egeria_outbox/processed-2025-05-19 10:27-data_test.md +91 -0
- md_processing/dr_egeria_outbox/processed-2025-05-19 14:04-data_test.md +91 -0
- md_processing/md_commands/__init__.py +3 -0
- md_processing/md_commands/blueprint_commands.py +303 -0
- md_processing/md_commands/data_designer_commands.py +1182 -0
- md_processing/md_commands/glossary_commands.py +1144 -0
- md_processing/md_commands/project_commands.py +163 -0
- md_processing/md_processing_utils/__init__.py +4 -0
- md_processing/md_processing_utils/common_md_proc_utils.py +724 -0
- md_processing/md_processing_utils/common_md_utils.py +172 -0
- md_processing/md_processing_utils/extraction_utils.py +486 -0
- md_processing/md_processing_utils/md_processing_constants.py +128 -0
- md_processing/md_processing_utils/message_constants.py +19 -0
- pyegeria/.DS_Store +0 -0
- pyegeria/__init__.py +231 -146
- pyegeria/_client.py +36 -13
- pyegeria/_exceptions.py +55 -46
- pyegeria/_globals.py +11 -1
- pyegeria/_validators.py +5 -5
- pyegeria/asset_catalog_omvs.py +78 -21
- pyegeria/automated_curation_omvs.py +11 -6
- pyegeria/classification_manager_omvs.py +41 -37
- pyegeria/collection_manager_omvs.py +722 -705
- pyegeria/core_omag_server_config.py +1 -1
- pyegeria/create_tech_guid_lists.py +13 -13
- pyegeria/data_designer_omvs.py +5104 -0
- pyegeria/dr.egeria spec.md +9 -0
- pyegeria/egeria_cat_client.py +5 -8
- pyegeria/egeria_client.py +39 -24
- pyegeria/egeria_config_client.py +2 -1
- pyegeria/egeria_my_client.py +4 -4
- pyegeria/egeria_tech_client.py +40 -18
- pyegeria/feedback_manager_omvs.py +1 -1
- pyegeria/full_omag_server_config.py +5 -3
- pyegeria/glossary_browser_omvs.py +1915 -694
- pyegeria/glossary_manager_omvs.py +685 -1842
- pyegeria/m_test.py +118 -0
- pyegeria/md_processing_helpers.py +58 -0
- pyegeria/md_processing_utils.py +2147 -0
- pyegeria/md_processing_utils_orig.py +1103 -0
- pyegeria/mermaid_utilities.py +1194 -14
- pyegeria/metadata_explorer_omvs.py +5 -50
- pyegeria/my_profile_omvs.py +3 -2
- pyegeria/output_formatter.py +389 -0
- pyegeria/platform_services.py +5 -5
- pyegeria/project_manager_omvs.py +97 -18
- pyegeria/runtime_manager_omvs.py +8 -10
- pyegeria/server_operations.py +2 -2
- pyegeria/solution_architect_omvs.py +2156 -0
- pyegeria/template_manager_omvs.py +13 -13
- pyegeria/utils.py +3 -1
- pyegeria/valid_metadata_omvs.py +5 -4
- pyegeria/x_action_author_omvs.py +3 -6
- {pyegeria-5.2.1.1.dist-info → pyegeria-5.3.dist-info}/METADATA +9 -8
- pyegeria-5.3.dist-info/RECORD +196 -0
- {pyegeria-5.2.1.1.dist-info → pyegeria-5.3.dist-info}/WHEEL +1 -1
- pyegeria-5.3.dist-info/entry_points.txt +99 -0
- pyegeria/commands/README.md +0 -47
- pyegeria/commands/__init__.py +0 -22
- pyegeria/commands/cat/__init__.py +0 -1
- pyegeria/commands/doc/README.md +0 -145
- pyegeria/commands/doc/Visual Command Reference/README.md +0 -511
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
- 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/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
- 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/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
- 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/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
- 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/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
- 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/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
- 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/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
- 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/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/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/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
- 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/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
- 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/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/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
- 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/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
- pyegeria/commands/doc/glossary/basic-glossary-tui.md +0 -109
- pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
- pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
- pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
- pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
- pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
- pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -346
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
- 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/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/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/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/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/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
- 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/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/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
- 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/commands/ops/__init__.py +0 -22
- pyegeria/commands/tech/__init__.py +0 -0
- pyegeria-5.2.1.1.dist-info/RECORD +0 -231
- pyegeria-5.2.1.1.dist-info/entry_points.txt +0 -81
- {pyegeria/commands → commands}/cat/README.md +0 -0
- {pyegeria/commands → commands}/my/README.md +0 -0
- {pyegeria/commands → commands}/ops/README.md +0 -0
- {pyegeria/commands → commands}/ops/x_engine_actions.py +0 -0
- {pyegeria/commands → commands}/tech/README.md +0 -0
- /pyegeria/commands/my/__init__.py → /md_processing/dr_egeria_inbox/t1.md +0 -0
- {pyegeria-5.2.1.1.dist-info → pyegeria-5.3.dist-info}/LICENSE +0 -0
@@ -4,7 +4,7 @@ SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
Copyright Contributors to the ODPi Egeria project.
|
5
5
|
|
6
6
|
|
7
|
-
A
|
7
|
+
A object_action line interface for Egeria Data techs.
|
8
8
|
|
9
9
|
This is an emerging capability based on the **click** package. Feedback welcome!
|
10
10
|
|
@@ -15,56 +15,52 @@ import sys
|
|
15
15
|
import click
|
16
16
|
from trogon import tui
|
17
17
|
|
18
|
-
from
|
19
|
-
from
|
20
|
-
from
|
21
|
-
from
|
22
|
-
from
|
23
|
-
from
|
24
|
-
from
|
25
|
-
from
|
26
|
-
from
|
27
|
-
from
|
28
|
-
from
|
29
|
-
from
|
30
|
-
|
31
|
-
|
32
|
-
from
|
33
|
-
|
34
|
-
|
18
|
+
from commands.cat.list_tech_types import display_tech_types
|
19
|
+
from commands.cli.ops_config import Config
|
20
|
+
from commands.tech.get_element_info import display_elements
|
21
|
+
from commands.tech.get_guid_info import display_guid
|
22
|
+
from commands.tech.get_tech_details import tech_details_viewer
|
23
|
+
from commands.tech.get_tech_type_template import template_viewer
|
24
|
+
from commands.tech.list_all_om_type_elements import list_elements
|
25
|
+
from commands.tech.list_all_om_type_elements_x import list_elements_x
|
26
|
+
from commands.tech.list_all_related_elements import list_related_elements
|
27
|
+
from commands.tech.list_anchored_elements import display_anchored_elements
|
28
|
+
from commands.tech.list_asset_types import display_asset_types
|
29
|
+
from commands.tech.list_elements_by_classification_by_property_value import (
|
30
|
+
find_elements_by_classification_by_prop_value,
|
31
|
+
)
|
32
|
+
from commands.tech.list_elements_by_property_value import (
|
33
|
+
find_elements_by_prop_value,
|
34
|
+
)
|
35
|
+
from commands.tech.list_elements_by_property_value_x import (
|
36
|
+
find_elements_by_prop_value_x,
|
35
37
|
)
|
36
|
-
from
|
37
|
-
from pyegeria.commands.tech.list_elements_for_classification import (
|
38
|
+
from commands.tech.list_elements_for_classification import (
|
38
39
|
list_classified_elements,
|
39
40
|
)
|
40
|
-
from
|
41
|
-
from
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
#
|
57
|
-
# pass_config = click.make_pass_decorator(Config)
|
58
|
-
|
41
|
+
from commands.tech.list_gov_action_processes import display_gov_processes
|
42
|
+
from commands.tech.list_information_supply_chains import supply_chain_viewer
|
43
|
+
from commands.tech.list_registered_services import display_registered_svcs
|
44
|
+
from commands.tech.list_related_elements_with_prop_value import (
|
45
|
+
list_related_elements_with_prop_value,
|
46
|
+
)
|
47
|
+
from commands.tech.list_related_specification import (
|
48
|
+
display_related_specification,
|
49
|
+
)
|
50
|
+
from commands.tech.list_relationship_types import display_relationship_types
|
51
|
+
from commands.tech.list_solution_blueprints import blueprint_list
|
52
|
+
from commands.tech.list_solution_components import solution_component_list
|
53
|
+
from commands.tech.list_solution_roles import solution_role_list
|
54
|
+
from commands.tech.list_tech_templates import display_templates_spec
|
55
|
+
from commands.tech.list_valid_metadata_values import display_metadata_values
|
56
|
+
from commands.tech.generic_actions import delete_element
|
59
57
|
|
60
|
-
# @tui
|
61
|
-
# @tui('menu', 'menu', 'A textual command line interface')
|
62
58
|
@tui()
|
63
59
|
@click.version_option("0.0.1", prog_name="egeria_ops")
|
64
60
|
@click.group()
|
65
61
|
@click.option(
|
66
62
|
"--server",
|
67
|
-
default=os.environ.get("EGERIA_METADATA_STORE", "
|
63
|
+
default=os.environ.get("EGERIA_METADATA_STORE", "qs-metadata-store"),
|
68
64
|
help="Egeria metadata store to work with",
|
69
65
|
)
|
70
66
|
@click.option(
|
@@ -74,7 +70,7 @@ from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
|
74
70
|
)
|
75
71
|
@click.option(
|
76
72
|
"--integration_daemon",
|
77
|
-
default=os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon"),
|
73
|
+
default=os.environ.get("EGERIA_INTEGRATION_DAEMON", "qs-integration-daemon"),
|
78
74
|
help="Egeria integration daemon to work with",
|
79
75
|
)
|
80
76
|
@click.option(
|
@@ -84,7 +80,7 @@ from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
|
84
80
|
)
|
85
81
|
@click.option(
|
86
82
|
"--view_server",
|
87
|
-
default=os.environ.get("EGERIA_VIEW_SERVER", "view-server"),
|
83
|
+
default=os.environ.get("EGERIA_VIEW_SERVER", "qs-view-server"),
|
88
84
|
help="Egeria view server to work with",
|
89
85
|
)
|
90
86
|
@click.option(
|
@@ -94,7 +90,7 @@ from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
|
94
90
|
)
|
95
91
|
@click.option(
|
96
92
|
"--engine_host",
|
97
|
-
default=os.environ.get("EGERIA_ENGINE_HOST", "engine-host"),
|
93
|
+
default=os.environ.get("EGERIA_ENGINE_HOST", "qs-engine-host"),
|
98
94
|
help="Egeria engine host to work with",
|
99
95
|
)
|
100
96
|
@click.option(
|
@@ -139,6 +135,11 @@ from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
|
139
135
|
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
140
136
|
help="Glossary guid to use as the home glossary",
|
141
137
|
)
|
138
|
+
@click.option(
|
139
|
+
"--glossary_path",
|
140
|
+
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
141
|
+
help="Path to glossary import/export files",
|
142
|
+
)
|
142
143
|
@click.pass_context
|
143
144
|
def cli(
|
144
145
|
ctx,
|
@@ -157,6 +158,8 @@ def cli(
|
|
157
158
|
timeout,
|
158
159
|
jupyter,
|
159
160
|
width,
|
161
|
+
home_glossary_guid,
|
162
|
+
home_glossary_path,
|
160
163
|
):
|
161
164
|
"""An Egeria Command Line interface for Operations"""
|
162
165
|
ctx.obj = Config(
|
@@ -175,6 +178,8 @@ def cli(
|
|
175
178
|
timeout,
|
176
179
|
jupyter,
|
177
180
|
width,
|
181
|
+
home_glossary_guid,
|
182
|
+
home_glossary_path,
|
178
183
|
)
|
179
184
|
ctx.max_content_width = 200
|
180
185
|
ctx.ensure_object(Config)
|
@@ -207,6 +212,12 @@ def show_elements(ctx):
|
|
207
212
|
"""Show information about Egeria elements"""
|
208
213
|
|
209
214
|
|
215
|
+
@show.group("solution-architecture")
|
216
|
+
@click.pass_context
|
217
|
+
def show_supply_chains(ctx):
|
218
|
+
"""Show information about Information Supply Chains"""
|
219
|
+
|
220
|
+
|
210
221
|
@show_elements.command("guid-info")
|
211
222
|
@click.argument("guid", nargs=1)
|
212
223
|
@click.pass_context
|
@@ -220,56 +231,248 @@ def show_guid_info(ctx, guid):
|
|
220
231
|
display_guid(guid, c.server, c.url, c.userid, c.password, c.jupyter, c.width)
|
221
232
|
|
222
233
|
|
223
|
-
@show_elements.command("
|
234
|
+
@show_elements.command("anchored_elements")
|
224
235
|
@click.pass_context
|
225
|
-
@click.
|
226
|
-
|
227
|
-
""
|
236
|
+
@click.option(
|
237
|
+
"--property_value",
|
238
|
+
default="DeployedDatabaseSchema",
|
239
|
+
help="value we are searching for",
|
240
|
+
)
|
241
|
+
@click.option(
|
242
|
+
"--prop-list",
|
243
|
+
default="anchorTypeName",
|
244
|
+
help="List of properties we are searching",
|
245
|
+
)
|
246
|
+
def list_anchored_elements(ctx, property_value: str, prop_list: str):
|
247
|
+
"""List anchored elements with the specified properties"""
|
228
248
|
c = ctx.obj
|
229
|
-
|
230
|
-
|
249
|
+
if type(prop_list) is str:
|
250
|
+
property_names = prop_list.split(",")
|
251
|
+
elif type(prop_list) is list:
|
252
|
+
property_names = prop_list
|
253
|
+
else:
|
254
|
+
property_names = []
|
255
|
+
print("Error --> Invalid property list - must be a string or list")
|
256
|
+
sys.exit(4)
|
257
|
+
display_anchored_elements(
|
258
|
+
property_value,
|
259
|
+
[property_names],
|
231
260
|
c.view_server,
|
232
261
|
c.view_server_url,
|
233
262
|
c.userid,
|
234
263
|
c.password,
|
264
|
+
c.timeout,
|
235
265
|
c.jupyter,
|
236
266
|
c.width,
|
237
267
|
)
|
238
268
|
|
239
269
|
|
240
|
-
@show_elements.command("
|
270
|
+
@show_elements.command("elements-by-classification")
|
271
|
+
@click.option(
|
272
|
+
"--om-type",
|
273
|
+
default="Referenceable",
|
274
|
+
help="Open Metadata type to filter by",
|
275
|
+
)
|
276
|
+
@click.option(
|
277
|
+
"--classification",
|
278
|
+
default="GovernanceProject",
|
279
|
+
help="Classification to filter byt",
|
280
|
+
)
|
241
281
|
@click.pass_context
|
282
|
+
def show_elements_by_classification(ctx, om_type, classification):
|
283
|
+
"""Show elements by classification"""
|
284
|
+
c = ctx.obj
|
285
|
+
list_classified_elements(
|
286
|
+
om_type,
|
287
|
+
classification,
|
288
|
+
c.view_server,
|
289
|
+
c.view_server_url,
|
290
|
+
c.userid,
|
291
|
+
c.password,
|
292
|
+
c.jupyter,
|
293
|
+
c.width,
|
294
|
+
)
|
295
|
+
|
296
|
+
|
297
|
+
@show_elements.command("elements-by-classification-by-prop-value")
|
242
298
|
@click.option(
|
243
|
-
"--
|
244
|
-
default="
|
245
|
-
help="
|
299
|
+
"--classification",
|
300
|
+
default="GovernanceProject",
|
301
|
+
help="Classification to filter by",
|
246
302
|
)
|
247
303
|
@click.option(
|
248
|
-
"--
|
249
|
-
|
250
|
-
|
304
|
+
"--property_value",
|
305
|
+
help="Property value to filter by",
|
306
|
+
)
|
307
|
+
@click.option(
|
308
|
+
"--property_names",
|
309
|
+
help="List of properties to search by",
|
310
|
+
)
|
311
|
+
@click.option(
|
312
|
+
"--om-type",
|
313
|
+
default="Referenceable",
|
314
|
+
help="Open Metadata type to filter by",
|
251
315
|
)
|
252
|
-
|
253
|
-
|
316
|
+
@click.pass_context
|
317
|
+
def show_elements_by_classification_by_prop(
|
318
|
+
ctx, classification, property_value, property_names, om_type
|
319
|
+
):
|
320
|
+
"""Show elements by classification and property value"""
|
254
321
|
c = ctx.obj
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
property_names
|
322
|
+
find_elements_by_classification_by_prop_value(
|
323
|
+
om_type,
|
324
|
+
classification,
|
325
|
+
property_value,
|
326
|
+
[property_names],
|
327
|
+
c.view_server,
|
328
|
+
c.view_server_url,
|
329
|
+
c.userid,
|
330
|
+
c.password,
|
331
|
+
c.jupyter,
|
332
|
+
c.width,
|
333
|
+
)
|
334
|
+
|
335
|
+
|
336
|
+
@show_elements.command("elements-by-prop-value")
|
337
|
+
@click.option(
|
338
|
+
"--property_value",
|
339
|
+
help="Property value to filter by",
|
340
|
+
)
|
341
|
+
@click.option(
|
342
|
+
"--property_names",
|
343
|
+
help="List of properties to search by",
|
344
|
+
)
|
345
|
+
@click.option(
|
346
|
+
"--om-type",
|
347
|
+
default="Referenceable",
|
348
|
+
help="Open Metadata type to filter by",
|
349
|
+
)
|
350
|
+
@click.option(
|
351
|
+
"--extended",
|
352
|
+
is_flag=True,
|
353
|
+
default=False,
|
354
|
+
help="If True, feedback information is displayed",
|
355
|
+
)
|
356
|
+
@click.pass_context
|
357
|
+
def show_elements_by_classification_by_prop(
|
358
|
+
ctx, property_value, property_names, om_type, extended
|
359
|
+
):
|
360
|
+
"""Show elements by classification and property value"""
|
361
|
+
c = ctx.obj
|
362
|
+
if extended:
|
363
|
+
find_elements_by_prop_value_x(
|
364
|
+
om_type,
|
365
|
+
property_value,
|
366
|
+
[property_names],
|
367
|
+
c.view_server,
|
368
|
+
c.view_server_url,
|
369
|
+
c.userid,
|
370
|
+
c.password,
|
371
|
+
c.jupyter,
|
372
|
+
c.width,
|
373
|
+
)
|
260
374
|
else:
|
261
|
-
|
262
|
-
|
263
|
-
|
375
|
+
find_elements_by_prop_value(
|
376
|
+
om_type,
|
377
|
+
property_value,
|
378
|
+
[property_names],
|
379
|
+
c.view_server,
|
380
|
+
c.view_server_url,
|
381
|
+
c.userid,
|
382
|
+
c.password,
|
383
|
+
c.jupyter,
|
384
|
+
c.width,
|
385
|
+
)
|
264
386
|
|
265
|
-
|
266
|
-
|
267
|
-
|
387
|
+
|
388
|
+
@show_elements.command("related-elements")
|
389
|
+
@click.option(
|
390
|
+
"--element-guid",
|
391
|
+
help="GUID of the Element to navigate from.",
|
392
|
+
)
|
393
|
+
@click.option(
|
394
|
+
"--om-type",
|
395
|
+
default="Referenceable",
|
396
|
+
help="Open metadata type to filter by.",
|
397
|
+
)
|
398
|
+
@click.option(
|
399
|
+
"--rel-type",
|
400
|
+
default="Certification",
|
401
|
+
help="Relationship type to follow.",
|
402
|
+
)
|
403
|
+
@click.pass_context
|
404
|
+
def show_related_elements(ctx, element_guid, om_type, rel_type):
|
405
|
+
"""Show all elements related to specified guid"""
|
406
|
+
c = ctx.obj
|
407
|
+
list_related_elements(
|
408
|
+
element_guid,
|
409
|
+
om_type,
|
410
|
+
rel_type,
|
411
|
+
c.view_server,
|
412
|
+
c.view_server_url,
|
413
|
+
c.userid,
|
414
|
+
c.password,
|
415
|
+
c.jupyter,
|
416
|
+
c.width,
|
417
|
+
)
|
418
|
+
|
419
|
+
|
420
|
+
@show_elements.command("related-elements_by_prop")
|
421
|
+
@click.option(
|
422
|
+
"--element-guid",
|
423
|
+
help="GUID of the Element to navigate from.",
|
424
|
+
)
|
425
|
+
@click.option(
|
426
|
+
"--rel-type",
|
427
|
+
default="Certification",
|
428
|
+
help="Relationship type to follow.",
|
429
|
+
)
|
430
|
+
@click.option(
|
431
|
+
"--property_value",
|
432
|
+
help="Property value to filter by",
|
433
|
+
)
|
434
|
+
@click.option(
|
435
|
+
"--property_names",
|
436
|
+
help="List of properties to search by",
|
437
|
+
)
|
438
|
+
@click.option(
|
439
|
+
"--om-type",
|
440
|
+
default="Referenceable",
|
441
|
+
help="Open metadata type to filter by.",
|
442
|
+
)
|
443
|
+
@click.pass_context
|
444
|
+
def show_related_elements(
|
445
|
+
ctx, element_guid, rel_type, property_value, property_names, om_type
|
446
|
+
):
|
447
|
+
"""Show elements related to specified guid and property value"""
|
448
|
+
c = ctx.obj
|
449
|
+
list_related_elements_with_prop_value(
|
450
|
+
element_guid,
|
451
|
+
rel_type,
|
452
|
+
property_value,
|
453
|
+
[property_names],
|
454
|
+
om_type,
|
455
|
+
c.view_server,
|
456
|
+
c.view_server_url,
|
457
|
+
c.userid,
|
458
|
+
c.password,
|
459
|
+
c.jupyter,
|
460
|
+
c.width,
|
461
|
+
)
|
462
|
+
|
463
|
+
|
464
|
+
@show_elements.command("related-specifications")
|
465
|
+
@click.pass_context
|
466
|
+
@click.argument("element-guid")
|
467
|
+
def show_related_specifications(ctx, element_guid):
|
468
|
+
"""List specifications related to the given Element"""
|
469
|
+
c = ctx.obj
|
470
|
+
display_related_specification(
|
471
|
+
element_guid,
|
268
472
|
c.view_server,
|
269
473
|
c.view_server_url,
|
270
474
|
c.userid,
|
271
475
|
c.password,
|
272
|
-
c.timeout,
|
273
476
|
c.jupyter,
|
274
477
|
c.width,
|
275
478
|
)
|
@@ -382,7 +585,7 @@ def show_registered_services(ctx, services):
|
|
382
585
|
@show_info.command("relationship-types")
|
383
586
|
@click.option(
|
384
587
|
"--om-type",
|
385
|
-
default="
|
588
|
+
default="Referenceable",
|
386
589
|
help="Relationship type to get information about",
|
387
590
|
)
|
388
591
|
@click.pass_context
|
@@ -401,65 +604,6 @@ def show_relationship_types(ctx, rel_type):
|
|
401
604
|
)
|
402
605
|
|
403
606
|
|
404
|
-
@show_elements.command("elements-by-classification")
|
405
|
-
@click.option(
|
406
|
-
"--om-type",
|
407
|
-
default="Project",
|
408
|
-
help="Open Metadata type to filter by",
|
409
|
-
)
|
410
|
-
@click.option(
|
411
|
-
"--classification",
|
412
|
-
default="GovernanceProject",
|
413
|
-
help="Classification to filter byt",
|
414
|
-
)
|
415
|
-
@click.pass_context
|
416
|
-
def show_elements_by_classification(ctx, om_type, classification):
|
417
|
-
"""Show elements by classification"""
|
418
|
-
c = ctx.obj
|
419
|
-
list_classified_elements(
|
420
|
-
om_type,
|
421
|
-
classification,
|
422
|
-
c.view_server,
|
423
|
-
c.view_server_url,
|
424
|
-
c.userid,
|
425
|
-
c.password,
|
426
|
-
c.jupyter,
|
427
|
-
c.width,
|
428
|
-
)
|
429
|
-
|
430
|
-
|
431
|
-
@show_elements.command("related-elements")
|
432
|
-
@click.option(
|
433
|
-
"--element-guid",
|
434
|
-
help="GUID of the Element to navigate from.",
|
435
|
-
)
|
436
|
-
@click.option(
|
437
|
-
"--om-type",
|
438
|
-
default="Project",
|
439
|
-
help="Open metadata type to filter by.",
|
440
|
-
)
|
441
|
-
@click.option(
|
442
|
-
"--rel-type",
|
443
|
-
default="Certification",
|
444
|
-
help="Relationship type to follow.",
|
445
|
-
)
|
446
|
-
@click.pass_context
|
447
|
-
def show_related_elements(ctx, element_guid, om_type, rel_type):
|
448
|
-
"""Show information about related elements"""
|
449
|
-
c = ctx.obj
|
450
|
-
list_related_elements(
|
451
|
-
element_guid,
|
452
|
-
om_type,
|
453
|
-
rel_type,
|
454
|
-
c.view_server,
|
455
|
-
c.view_server_url,
|
456
|
-
c.userid,
|
457
|
-
c.password,
|
458
|
-
c.jupyter,
|
459
|
-
c.width,
|
460
|
-
)
|
461
|
-
|
462
|
-
|
463
607
|
@show_tech.command("tech-templates")
|
464
608
|
@click.pass_context
|
465
609
|
@click.option(
|
@@ -535,6 +679,39 @@ def valid_metadata_values(ctx, property, type_name):
|
|
535
679
|
)
|
536
680
|
|
537
681
|
|
682
|
+
@show_info.command("processes")
|
683
|
+
@click.pass_context
|
684
|
+
def list_element_info(ctx):
|
685
|
+
"""Display processes"""
|
686
|
+
c = ctx.obj
|
687
|
+
list_elements(
|
688
|
+
"GovernanceActionProcess",
|
689
|
+
c.view_server,
|
690
|
+
c.view_server_url,
|
691
|
+
c.userid,
|
692
|
+
c.password,
|
693
|
+
c.jupyter,
|
694
|
+
c.width,
|
695
|
+
)
|
696
|
+
|
697
|
+
|
698
|
+
@show_elements.command("get-elements")
|
699
|
+
@click.pass_context
|
700
|
+
@click.option("--om_type", default="Referenceable", help="Metadata type to query")
|
701
|
+
def get_element_info(ctx, om_type):
|
702
|
+
"""Display graph of elements for an Open Metadata Type"""
|
703
|
+
c = ctx.obj
|
704
|
+
display_elements(
|
705
|
+
om_type,
|
706
|
+
c.view_server,
|
707
|
+
c.view_server_url,
|
708
|
+
c.userid,
|
709
|
+
c.password,
|
710
|
+
c.jupyter,
|
711
|
+
c.width,
|
712
|
+
)
|
713
|
+
|
714
|
+
|
538
715
|
@show_elements.command("elements")
|
539
716
|
@click.pass_context
|
540
717
|
@click.option(
|
@@ -543,9 +720,9 @@ def valid_metadata_values(ctx, property, type_name):
|
|
543
720
|
default=False,
|
544
721
|
help="If True, feedback information is displayed",
|
545
722
|
)
|
546
|
-
@click.option("--om_type", default="
|
547
|
-
def
|
548
|
-
"""Display elements of a specific Open Metadata Type"""
|
723
|
+
@click.option("--om_type", default="Referenceable", help="Metadata type to query")
|
724
|
+
def list_all_om_type_elements(ctx, om_type, extended):
|
725
|
+
"""Display all elements of a specific Open Metadata Type"""
|
549
726
|
c = ctx.obj
|
550
727
|
if extended:
|
551
728
|
list_elements_x(
|
@@ -569,13 +746,14 @@ def list_element_info(ctx, om_type, extended):
|
|
569
746
|
)
|
570
747
|
|
571
748
|
|
572
|
-
@
|
749
|
+
@show_supply_chains.command("supply-chains")
|
750
|
+
@click.option("--search-string", default="*", help="Search string")
|
573
751
|
@click.pass_context
|
574
|
-
def
|
575
|
-
"""Display
|
752
|
+
def list_supply_chains(ctx, search_string):
|
753
|
+
"""Display supply chains"""
|
576
754
|
c = ctx.obj
|
577
|
-
|
578
|
-
|
755
|
+
supply_chain_viewer(
|
756
|
+
search_string,
|
579
757
|
c.view_server,
|
580
758
|
c.view_server_url,
|
581
759
|
c.userid,
|
@@ -585,14 +763,48 @@ def list_element_info(ctx):
|
|
585
763
|
)
|
586
764
|
|
587
765
|
|
588
|
-
@
|
766
|
+
@show_supply_chains.command("blueprints")
|
767
|
+
@click.option("--search-string", default="*", help="Search string")
|
589
768
|
@click.pass_context
|
590
|
-
|
591
|
-
|
592
|
-
"""Display the elements for an Open Metadata Type"""
|
769
|
+
def list_blueprints(ctx, search_string):
|
770
|
+
"""Display solution blueprints"""
|
593
771
|
c = ctx.obj
|
594
|
-
|
595
|
-
|
772
|
+
blueprint_list(
|
773
|
+
search_string,
|
774
|
+
c.view_server,
|
775
|
+
c.view_server_url,
|
776
|
+
c.userid,
|
777
|
+
c.password,
|
778
|
+
c.jupyter,
|
779
|
+
c.width,
|
780
|
+
)
|
781
|
+
|
782
|
+
|
783
|
+
@show_supply_chains.command("solution-roles")
|
784
|
+
@click.option("--search-string", default="*", help="Search string")
|
785
|
+
@click.pass_context
|
786
|
+
def list_solution_roles(ctx, search_string):
|
787
|
+
"""Display solution roles"""
|
788
|
+
c = ctx.obj
|
789
|
+
solution_role_list(
|
790
|
+
search_string,
|
791
|
+
c.view_server,
|
792
|
+
c.view_server_url,
|
793
|
+
c.userid,
|
794
|
+
c.password,
|
795
|
+
c.jupyter,
|
796
|
+
c.width,
|
797
|
+
)
|
798
|
+
|
799
|
+
|
800
|
+
@show_supply_chains.command("solution-components")
|
801
|
+
@click.option("--search-string", default="*", help="Search string")
|
802
|
+
@click.pass_context
|
803
|
+
def list_solution_components(ctx, search_string):
|
804
|
+
"""Display solution componentss"""
|
805
|
+
c = ctx.obj
|
806
|
+
solution_component_list(
|
807
|
+
search_string,
|
596
808
|
c.view_server,
|
597
809
|
c.view_server_url,
|
598
810
|
c.userid,
|
@@ -607,12 +819,12 @@ def get_element_info(ctx, om_type):
|
|
607
819
|
#
|
608
820
|
|
609
821
|
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
822
|
+
@cli.group("tell")
|
823
|
+
@click.pass_context
|
824
|
+
def tell(ctx):
|
825
|
+
"""Perform actions an Egeria Objects"""
|
826
|
+
pass
|
827
|
+
tell.add_command(delete_element)
|
616
828
|
|
617
829
|
if __name__ == "__main__":
|
618
830
|
cli()
|
@@ -5,10 +5,10 @@ class Config(object):
|
|
5
5
|
def __init__(
|
6
6
|
self,
|
7
7
|
server: str,
|
8
|
-
url: str
|
9
|
-
view_server: str
|
10
|
-
view_server_url: str
|
11
|
-
integration_daemon: str
|
8
|
+
url: str,
|
9
|
+
view_server: str,
|
10
|
+
view_server_url: str,
|
11
|
+
integration_daemon: str,
|
12
12
|
integration_daemon_url: str,
|
13
13
|
engine_host: str,
|
14
14
|
engine_host_url: str,
|
@@ -21,6 +21,9 @@ class Config(object):
|
|
21
21
|
width: int,
|
22
22
|
home_glossary_guid: str,
|
23
23
|
glossary_path: str,
|
24
|
+
root_path: str,
|
25
|
+
inbox_path: str,
|
26
|
+
outbox_path: str
|
24
27
|
):
|
25
28
|
self.metadata_store = server
|
26
29
|
self.metadata_store_url = url
|
@@ -41,5 +44,9 @@ class Config(object):
|
|
41
44
|
self.url = url
|
42
45
|
self.home_glossary_guid = home_glossary_guid
|
43
46
|
self.glossary_path = glossary_path
|
47
|
+
self.root_path = root_path
|
48
|
+
self.inbox_path = inbox_path
|
49
|
+
self.outbox_path = outbox_path
|
50
|
+
|
44
51
|
|
45
52
|
pass_config = click.make_pass_decorator(Config)
|