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