pyegeria 5.3.4.1__py3-none-any.whl → 5.3.4.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.
- pyegeria/.DS_Store +0 -0
- pyegeria/__init__.py +70 -68
- pyegeria/_client.py +8 -8
- pyegeria/_exceptions.py +55 -46
- pyegeria/_globals.py +0 -1
- pyegeria/_validators.py +5 -5
- pyegeria/asset_catalog_omvs.py +5 -4
- pyegeria/automated_curation_omvs.py +6 -2
- pyegeria/classification_manager_omvs.py +6 -4
- pyegeria/collection_manager_omvs.py +5 -5
- pyegeria/commands/.DS_Store +0 -0
- pyegeria/commands/__init__.py +13 -11
- pyegeria/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
- pyegeria/commands/cat/__init__.py +1 -1
- pyegeria/commands/cat/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_asset_graph.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_collection.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_project_dependencies.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_project_structure.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_tech_type_elements.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/glossary_actions.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_assets.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_cert_types.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_collections.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_deployed_catalogs.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_deployed_database_schemas.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_deployed_databases.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_glossaries.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_projects.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_servers_deployed_imp.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_tech_type_elements.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_tech_types.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_terms.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_todos.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc +0 -0
- pyegeria/commands/cat/exp_list_glossaries.py +1 -2
- pyegeria/commands/cat/get_asset_graph.py +2 -2
- pyegeria/commands/cat/get_collection.py +4 -5
- pyegeria/commands/cat/get_project_dependencies.py +3 -5
- pyegeria/commands/cat/get_project_structure.py +3 -5
- pyegeria/commands/cat/get_tech_type_elements.py +11 -13
- pyegeria/commands/cat/glossary_actions.py +3 -4
- pyegeria/commands/cat/list_assets.py +7 -4
- pyegeria/commands/cat/list_cert_types.py +4 -4
- pyegeria/commands/cat/list_collections.py +1 -1
- pyegeria/commands/cat/list_deployed_catalogs.py +7 -6
- pyegeria/commands/cat/list_deployed_database_schemas.py +7 -6
- pyegeria/commands/cat/list_deployed_databases.py +7 -6
- pyegeria/commands/cat/list_glossaries.py +1 -1
- pyegeria/commands/cat/list_projects.py +3 -3
- pyegeria/commands/cat/list_servers_deployed_imp.py +1 -1
- pyegeria/commands/cat/list_tech_type_elements.py +1 -1
- pyegeria/commands/cat/list_tech_types.py +2 -2
- pyegeria/commands/cat/list_terms.py +2 -3
- pyegeria/commands/cat/list_todos.py +1 -1
- pyegeria/commands/cat/list_user_ids.py +7 -6
- pyegeria/commands/cli/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/egeria_login_tui.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/egeria_ops.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/ops_config.cpython-312.pyc +0 -0
- pyegeria/commands/cli/egeria.py +77 -69
- pyegeria/commands/cli/egeria_cat.py +9 -16
- pyegeria/commands/cli/egeria_login_tui.py +12 -14
- pyegeria/commands/cli/egeria_my.py +3 -6
- pyegeria/commands/cli/egeria_ops.py +7 -9
- pyegeria/commands/cli/egeria_tech.py +48 -34
- pyegeria/commands/cli/ops_config.py +5 -4
- pyegeria/commands/doc/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
- pyegeria/commands/my/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/list_my_profile.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/list_my_roles.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/monitor_my_todos.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc +0 -0
- pyegeria/commands/my/list_my_profile.py +4 -4
- pyegeria/commands/my/list_my_roles.py +2 -2
- pyegeria/commands/my/monitor_my_todos.py +4 -4
- pyegeria/commands/my/monitor_open_todos.py +4 -4
- pyegeria/commands/my/todo_actions.py +1 -0
- pyegeria/commands/ops/__init__.py +1 -0
- pyegeria/commands/ops/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/gov_server_actions.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/list_archives.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/list_catalog_targets.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/load_archive.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_engine_activity.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_engine_activity_c.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_gov_eng_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_integ_daemon_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_platform_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_server_startup.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_server_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/refresh_integration_daemon.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/restart_integration_daemon.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/table_integ_daemon_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/gov_server_actions.py +3 -2
- pyegeria/commands/ops/list_archives.py +5 -4
- pyegeria/commands/ops/list_catalog_targets.py +2 -2
- pyegeria/commands/ops/load_archive.py +2 -0
- pyegeria/commands/ops/monitor_asset_events.py +6 -5
- pyegeria/commands/ops/monitor_engine_activity.py +1 -2
- pyegeria/commands/ops/monitor_engine_activity_c.py +2 -2
- pyegeria/commands/ops/monitor_gov_eng_status.py +1 -1
- pyegeria/commands/ops/monitor_integ_daemon_status.py +14 -8
- pyegeria/commands/ops/monitor_platform_status.py +2 -1
- pyegeria/commands/ops/monitor_server_startup.py +5 -5
- pyegeria/commands/ops/monitor_server_status.py +6 -4
- pyegeria/commands/ops/orig_monitor_server_status.py +1 -1
- pyegeria/commands/tech/.DS_Store +0 -0
- pyegeria/commands/tech/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_element_info.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_guid_info.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_tech_details.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_tech_type_template.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_all_om_type_elements.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_all_om_type_elements_x.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_all_related_elements.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_anchored_elements.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_asset_types.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_by_classification_by_property_value.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_by_property_value.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_by_property_value_x.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_for_classification.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_gov_action_processes.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_information_supply_chains.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_registered_services.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_related_elements_with_prop_value.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_related_specification.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_relationship_types.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_relationships.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_solution_blueprints.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_solution_components.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_solution_roles.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_tech_templates.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_valid_metadata_values.cpython-312.pyc +0 -0
- pyegeria/commands/tech/get_element_info.py +3 -5
- pyegeria/commands/tech/get_guid_info.py +2 -3
- pyegeria/commands/tech/get_tech_details.py +6 -7
- pyegeria/commands/tech/get_tech_type_template.py +2 -2
- pyegeria/commands/tech/list_all_om_type_elements.py +7 -6
- pyegeria/commands/tech/list_all_om_type_elements_x.py +8 -9
- pyegeria/commands/tech/list_all_related_elements.py +8 -6
- pyegeria/commands/tech/list_anchored_elements.py +2 -2
- pyegeria/commands/tech/list_asset_types.py +2 -2
- pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +38 -24
- pyegeria/commands/tech/list_elements_by_property_value.py +26 -21
- pyegeria/commands/tech/list_elements_by_property_value_x.py +18 -13
- pyegeria/commands/tech/list_elements_for_classification.py +8 -6
- pyegeria/commands/tech/list_gov_action_processes.py +3 -4
- pyegeria/commands/tech/list_information_supply_chains.py +19 -24
- pyegeria/commands/tech/list_registered_services.py +1 -1
- pyegeria/commands/tech/list_related_elements_with_prop_value.py +27 -13
- pyegeria/commands/tech/list_related_specification.py +1 -1
- pyegeria/commands/tech/list_relationship_types.py +2 -3
- pyegeria/commands/tech/list_relationships.py +1 -1
- pyegeria/commands/tech/list_solution_blueprints.py +40 -37
- pyegeria/commands/tech/list_solution_components.py +49 -36
- pyegeria/commands/tech/list_solution_roles.py +44 -37
- pyegeria/commands/tech/list_tech_templates.py +1 -1
- pyegeria/commands/tech/list_valid_metadata_values.py +3 -4
- pyegeria/commands/tech/table_tech_templates.py +14 -11
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Automated Manufacturing Control.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Clinical Trial Management Solution Blueprint.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Employee Management Solution Blueprint.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Hazardous Material Management Solution Blueprint.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Inventory Management.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Personalized Medicine Order Fulfillment Solution Blueprint.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Sustainability Reporting Solution Blueprint.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/{{displayName}}.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DC-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DEPOT-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-LAB-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-DC-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-FACTORY-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/C-TRL-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-CT:ProjectManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-MM:ProjectManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/CertifiedDataEngineer.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospital.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospitalCoordinator.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialSponsor.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/Community Leader.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/CommunityMember.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/DIST-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DC-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DEPOT-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-FACTORY-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/FIN-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOVERNANCE_LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:0.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:1.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:2.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:3.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:4.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:5.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:6.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:7.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/HR-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/IT-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/KC-DEPOT-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/KC-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/KC-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-DC-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-LAB-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/MFG-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-DC-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-LAB-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentDataScientist.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentResearcher.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-001:ProjectManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-002:ProjectManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-003:ProjectManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF:ProjectManager.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/RES-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/SALES-SUSTAINABILITY-CHAMP.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-LEAD.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-TECH-LEAD.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityChampion.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityExecutive.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityLeader.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0001.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0002.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0003.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0004.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0005.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0006.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0007.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0008.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0009.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0010.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0011.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0012.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0013.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0014.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0015.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0016.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0017.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0018.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0019.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0020.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0021.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0022.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0023.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0024.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2343.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2373.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3067.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3082.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4051.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4302.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4332.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:5656.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6788.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6877.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:7432.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9657.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9992.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9993.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9994.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9995.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9996.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9997.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9998.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9999.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0001.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0002.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0003.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0004.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0005.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0006.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0007.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0008.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0009.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0010.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0011.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0012.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0013.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0014.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0015.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0016.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0017.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0018.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0019.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0020.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0021.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0022.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0023.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0024.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2343.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2373.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3067.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3082.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4051.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4302.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4332.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:5656.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6788.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6877.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:7432.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9657.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9992.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9993.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9994.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9995.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9996.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9997.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9998.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9999.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DC-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DEPOT-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-FACTORY-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-OFFICE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-SITE-LEADER.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Subject Onboarding.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Treatment Validation.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Employee Expense Payment.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Drug Product Information Distribution.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Employee Onboarding.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Personalized Treatment Ordering.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Physical Inventory Tracking.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Sustainability Reporting.html +1 -1
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/{{displayName}}.html +1 -1
- pyegeria/commands/tech/x_list_related_elements.py +4 -2
- pyegeria/core_omag_server_config.py +1 -1
- pyegeria/create_tech_guid_lists.py +3 -1
- pyegeria/egeria_cat_client.py +5 -8
- pyegeria/egeria_client.py +17 -20
- pyegeria/egeria_config_client.py +2 -1
- pyegeria/egeria_my_client.py +4 -4
- pyegeria/egeria_tech_client.py +29 -20
- pyegeria/full_omag_server_config.py +5 -3
- pyegeria/glossary_browser_omvs.py +2 -5
- pyegeria/glossary_manager_omvs.py +4 -7
- pyegeria/mermaid_utilities.py +13 -11
- pyegeria/metadata_explorer_omvs.py +4 -5
- pyegeria/my_profile_omvs.py +2 -1
- pyegeria/platform_services.py +4 -4
- pyegeria/project_manager_omvs.py +2 -4
- pyegeria/runtime_manager_omvs.py +5 -8
- pyegeria/server_operations.py +1 -1
- pyegeria/solution_architect_omvs.py +136 -120
- pyegeria/template_manager_omvs.py +4 -9
- pyegeria/utils.py +3 -1
- pyegeria/valid_metadata_omvs.py +1 -0
- pyegeria/x_action_author_omvs.py +2 -5
- {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/METADATA +1 -1
- pyegeria-5.3.4.3.dist-info/RECORD +522 -0
- {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/entry_points.txt +0 -1
- pyegeria/commands/cat/link-check.py +0 -185
- pyegeria-5.3.4.1.dist-info/RECORD +0 -437
- {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/WHEEL +0 -0
@@ -1,21 +1,23 @@
|
|
1
1
|
"""This creates a templates guid file from the core metadata archive"""
|
2
|
-
|
3
|
-
from rich.markdown import Markdown
|
4
|
-
from rich.prompt import Prompt
|
5
|
-
import os
|
2
|
+
|
6
3
|
import argparse
|
7
|
-
import
|
4
|
+
import os
|
8
5
|
import sys
|
6
|
+
import time
|
7
|
+
|
8
|
+
from jedi import Project
|
9
9
|
from rich import box
|
10
10
|
from rich.console import Console
|
11
|
+
from rich.markdown import Markdown
|
12
|
+
from rich.prompt import Prompt
|
11
13
|
from rich.table import Table
|
12
14
|
|
13
15
|
from pyegeria import (
|
16
|
+
EgeriaTech,
|
14
17
|
InvalidParameterException,
|
15
18
|
PropertyServerException,
|
16
19
|
UserNotAuthorizedException,
|
17
20
|
print_exception_response,
|
18
|
-
EgeriaTech,
|
19
21
|
)
|
20
22
|
|
21
23
|
console = Console()
|
@@ -12,20 +12,19 @@ import os
|
|
12
12
|
import sys
|
13
13
|
import time
|
14
14
|
|
15
|
-
from rich import box
|
16
|
-
from rich import print
|
15
|
+
from rich import box, print
|
17
16
|
from rich.console import Console
|
18
17
|
from rich.prompt import Prompt
|
19
18
|
from rich.table import Table
|
20
19
|
|
21
20
|
from pyegeria import (
|
21
|
+
EgeriaTech,
|
22
22
|
InvalidParameterException,
|
23
23
|
PropertyServerException,
|
24
24
|
UserNotAuthorizedException,
|
25
|
+
ValidMetadataManager,
|
25
26
|
print_exception_response,
|
26
|
-
EgeriaTech,
|
27
27
|
)
|
28
|
-
from pyegeria import ValidMetadataManager
|
29
28
|
|
30
29
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
31
30
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
@@ -11,7 +11,7 @@ import argparse
|
|
11
11
|
import os
|
12
12
|
import time
|
13
13
|
|
14
|
-
from rich import
|
14
|
+
from rich import box, print
|
15
15
|
from rich.console import Console
|
16
16
|
from rich.markdown import Markdown
|
17
17
|
from rich.panel import Panel
|
@@ -19,19 +19,16 @@ from rich.prompt import Prompt
|
|
19
19
|
from rich.table import Table
|
20
20
|
from rich.text import Text
|
21
21
|
from rich.tree import Tree
|
22
|
-
|
22
|
+
|
23
23
|
from pyegeria import (
|
24
|
-
UserNotAuthorizedException,
|
25
|
-
PropertyServerException,
|
26
24
|
InvalidParameterException,
|
25
|
+
PropertyServerException,
|
26
|
+
UserNotAuthorizedException,
|
27
27
|
save_mermaid_graph,
|
28
28
|
save_mermaid_html,
|
29
|
-
|
30
|
-
)
|
31
|
-
|
32
|
-
from pyegeria._exceptions import (
|
33
|
-
print_exception_response,
|
34
29
|
)
|
30
|
+
from pyegeria._exceptions import print_exception_response
|
31
|
+
from pyegeria.solution_architect_omvs import SolutionArchitect
|
35
32
|
|
36
33
|
disable_ssl_warnings = True
|
37
34
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -50,6 +47,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
|
50
47
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
|
51
48
|
EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
|
52
49
|
|
50
|
+
|
53
51
|
def supply_chain_viewer(
|
54
52
|
search_string: str,
|
55
53
|
server_name: str,
|
@@ -75,7 +73,7 @@ def supply_chain_viewer(
|
|
75
73
|
box=box.ROUNDED,
|
76
74
|
caption=f"View Server '{server_name}' @ Platform - {platform_url}",
|
77
75
|
expand=True,
|
78
|
-
|
76
|
+
)
|
79
77
|
table.add_column("Supply Chain Name")
|
80
78
|
table.add_column("Qualified Name \n/\n GUID", width=38, no_wrap=False)
|
81
79
|
table.add_column("Purposes")
|
@@ -87,20 +85,22 @@ def supply_chain_viewer(
|
|
87
85
|
return "No Supply Chains found"
|
88
86
|
|
89
87
|
for sc in supply_chains:
|
90
|
-
sc_name = sc["properties"].get("displayName",
|
91
|
-
sc_qname = sc["properties"].get("qualifiedName",
|
88
|
+
sc_name = sc["properties"].get("displayName", "---")
|
89
|
+
sc_qname = sc["properties"].get("qualifiedName", "---")
|
92
90
|
sc_guid = sc["elementHeader"]["guid"]
|
93
|
-
sc_purpose = sc["properties"].get("purposes",
|
91
|
+
sc_purpose = sc["properties"].get("purposes", "---")
|
94
92
|
if isinstance(sc_purpose, list):
|
95
93
|
sc_purpose_str = "\n* ".join(sc_purpose)
|
96
94
|
else:
|
97
95
|
sc_purpose_str = sc_purpose
|
98
|
-
sc_scope = sc["properties"].get("scope",
|
99
|
-
sc_desc = sc["properties"].get("description",
|
96
|
+
sc_scope = sc["properties"].get("scope", "---")
|
97
|
+
sc_desc = sc["properties"].get("description", "---")
|
100
98
|
sc_unique_name = f"{sc_qname}\n\n\t\t/\n\n{sc_guid}"
|
101
|
-
sc_mermaid = sc.get("mermaidGraph",
|
102
|
-
if sc_mermaid !=
|
103
|
-
link = save_mermaid_html(
|
99
|
+
sc_mermaid = sc.get("mermaidGraph", "---")
|
100
|
+
if sc_mermaid != "---":
|
101
|
+
link = save_mermaid_html(
|
102
|
+
sc_name, sc_mermaid, f"{EGERIA_MERMAID_FOLDER}/supply-chains"
|
103
|
+
)
|
104
104
|
sc_mermaid_link = f"file://:{link}"
|
105
105
|
# print("Visit my [link=https://www.willmcgugan.com]blog[/link]!")
|
106
106
|
# sc_scope = Text(f"{sc_scope}\n\t\t/\n{sc_mermaid_link}")
|
@@ -111,9 +111,6 @@ def supply_chain_viewer(
|
|
111
111
|
|
112
112
|
return table
|
113
113
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
114
|
try:
|
118
115
|
console = Console(width=width, force_terminal=not jupyter)
|
119
116
|
with console.pager():
|
@@ -142,9 +139,7 @@ def main():
|
|
142
139
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
143
140
|
|
144
141
|
try:
|
145
|
-
search_string = Prompt.ask(
|
146
|
-
"Enter a search string:", default="*"
|
147
|
-
)
|
142
|
+
search_string = Prompt.ask("Enter a search string:", default="*")
|
148
143
|
supply_chain_viewer(search_string, server, url, userid, user_pass)
|
149
144
|
except KeyboardInterrupt:
|
150
145
|
pass
|
@@ -20,8 +20,8 @@ from rich.table import Table
|
|
20
20
|
from pyegeria import (
|
21
21
|
InvalidParameterException,
|
22
22
|
PropertyServerException,
|
23
|
-
UserNotAuthorizedException,
|
24
23
|
RegisteredInfo,
|
24
|
+
UserNotAuthorizedException,
|
25
25
|
)
|
26
26
|
|
27
27
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -1,22 +1,24 @@
|
|
1
1
|
"""This finds all elements related to the specified element by the specified relationship type,
|
2
|
-
|
3
|
-
|
4
|
-
from rich.markdown import Markdown
|
5
|
-
from rich.prompt import Prompt
|
6
|
-
import os
|
2
|
+
that match the property value for the properties specified"""
|
3
|
+
|
7
4
|
import argparse
|
8
|
-
import
|
5
|
+
import os
|
9
6
|
import sys
|
7
|
+
import time
|
8
|
+
|
9
|
+
from jedi import Project
|
10
10
|
from rich import box
|
11
11
|
from rich.console import Console
|
12
|
+
from rich.markdown import Markdown
|
13
|
+
from rich.prompt import Prompt
|
12
14
|
from rich.table import Table
|
13
15
|
|
14
16
|
from pyegeria import (
|
17
|
+
EgeriaTech,
|
15
18
|
InvalidParameterException,
|
16
19
|
PropertyServerException,
|
17
20
|
UserNotAuthorizedException,
|
18
21
|
print_exception_response,
|
19
|
-
EgeriaTech,
|
20
22
|
)
|
21
23
|
|
22
24
|
console = Console()
|
@@ -185,20 +187,32 @@ def main():
|
|
185
187
|
server = args.server.strip() if args.server is not None else EGERIA_VIEW_SERVER
|
186
188
|
url = args.url.strip if args.url is not None else EGERIA_PLATFORM_URL
|
187
189
|
userid = args.userid.strip() if args.userid is not None else EGERIA_USER
|
188
|
-
password =
|
190
|
+
password = (
|
191
|
+
args.password.strip() if args.password is not None else EGERIA_USER_PASSWORD
|
192
|
+
)
|
189
193
|
|
190
194
|
try:
|
191
195
|
element_guid = Prompt.ask("Guid of base element").strip()
|
192
196
|
relationship_type = Prompt.ask("Enter the relationship type to follow").strip()
|
193
197
|
property_value = Prompt.ask("Enter the property value to search for").strip()
|
194
|
-
property_names = Prompt.ask(
|
198
|
+
property_names = Prompt.ask(
|
199
|
+
"Enter a comma seperated list of properties to search"
|
200
|
+
).strip()
|
195
201
|
om_type = Prompt.ask(
|
196
202
|
"Enter the Open Metadata Type to find elements of", default="Referenceable"
|
197
|
-
|
203
|
+
)
|
198
204
|
om_type = om_type.strip() if type(om_type) is str else None
|
199
|
-
list_related_elements_with_prop_value(
|
200
|
-
|
201
|
-
|
205
|
+
list_related_elements_with_prop_value(
|
206
|
+
element_guid,
|
207
|
+
relationship_type,
|
208
|
+
property_value,
|
209
|
+
[property_names],
|
210
|
+
om_type,
|
211
|
+
server,
|
212
|
+
url,
|
213
|
+
userid,
|
214
|
+
password,
|
215
|
+
)
|
202
216
|
except KeyboardInterrupt:
|
203
217
|
pass
|
204
218
|
|
@@ -19,11 +19,11 @@ from rich.prompt import Prompt
|
|
19
19
|
from rich.table import Table
|
20
20
|
|
21
21
|
from pyegeria import (
|
22
|
+
ClassificationManager,
|
22
23
|
InvalidParameterException,
|
23
24
|
PropertyServerException,
|
24
25
|
UserNotAuthorizedException,
|
25
26
|
print_exception_response,
|
26
|
-
ClassificationManager,
|
27
27
|
)
|
28
28
|
|
29
29
|
console = Console()
|
@@ -11,8 +11,7 @@ import argparse
|
|
11
11
|
import os
|
12
12
|
import time
|
13
13
|
|
14
|
-
from rich import box
|
15
|
-
from rich import print
|
14
|
+
from rich import box, print
|
16
15
|
from rich.console import Console
|
17
16
|
from rich.markdown import Markdown
|
18
17
|
from rich.prompt import Prompt
|
@@ -22,9 +21,9 @@ from pyegeria import (
|
|
22
21
|
InvalidParameterException,
|
23
22
|
PropertyServerException,
|
24
23
|
UserNotAuthorizedException,
|
24
|
+
ValidMetadataManager,
|
25
25
|
print_exception_response,
|
26
26
|
)
|
27
|
-
from pyegeria import ValidMetadataManager
|
28
27
|
|
29
28
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
30
29
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
@@ -20,10 +20,10 @@ from rich.prompt import Prompt
|
|
20
20
|
from rich.table import Table
|
21
21
|
|
22
22
|
from pyegeria import (
|
23
|
+
ClassificationManager,
|
23
24
|
InvalidParameterException,
|
24
25
|
PropertyServerException,
|
25
26
|
UserNotAuthorizedException,
|
26
|
-
ClassificationManager,
|
27
27
|
max_paging_size,
|
28
28
|
)
|
29
29
|
|
@@ -11,7 +11,7 @@ import argparse
|
|
11
11
|
import os
|
12
12
|
import time
|
13
13
|
|
14
|
-
from rich import
|
14
|
+
from rich import box, print
|
15
15
|
from rich.console import Console
|
16
16
|
from rich.markdown import Markdown
|
17
17
|
from rich.panel import Panel
|
@@ -20,18 +20,16 @@ from rich.table import Table
|
|
20
20
|
from rich.text import Text
|
21
21
|
from rich.tree import Tree
|
22
22
|
|
23
|
-
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
24
|
-
from pyegeria.solution_architect_omvs import SolutionArchitect
|
25
23
|
from pyegeria import (
|
24
|
+
InvalidParameterException,
|
26
25
|
ProjectManager,
|
27
|
-
UserNotAuthorizedException,
|
28
26
|
PropertyServerException,
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
from pyegeria._exceptions import (
|
33
|
-
print_exception_response,
|
27
|
+
UserNotAuthorizedException,
|
28
|
+
save_mermaid_html,
|
34
29
|
)
|
30
|
+
from pyegeria._exceptions import print_exception_response
|
31
|
+
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
32
|
+
from pyegeria.solution_architect_omvs import SolutionArchitect
|
35
33
|
|
36
34
|
disable_ssl_warnings = True
|
37
35
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -50,6 +48,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
|
50
48
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
|
51
49
|
EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
|
52
50
|
|
51
|
+
|
53
52
|
def blueprint_list(
|
54
53
|
search_string: str,
|
55
54
|
server_name: str,
|
@@ -75,9 +74,14 @@ def blueprint_list(
|
|
75
74
|
box=box.ROUNDED,
|
76
75
|
caption=f"View Server '{server_name}' @ Platform - {platform_url}",
|
77
76
|
expand=True,
|
78
|
-
|
77
|
+
)
|
79
78
|
table.add_column("Blueprint Name / Diagram Link", justify="center")
|
80
|
-
table.add_column(
|
79
|
+
table.add_column(
|
80
|
+
"Qualified Name / GUID / Version",
|
81
|
+
justify="center",
|
82
|
+
width=38,
|
83
|
+
no_wrap=False,
|
84
|
+
)
|
81
85
|
table.add_column("Description", justify="center")
|
82
86
|
table.add_column("Solution Components", justify="center")
|
83
87
|
|
@@ -86,37 +90,41 @@ def blueprint_list(
|
|
86
90
|
return "No Blueprints found"
|
87
91
|
|
88
92
|
for bp in blueprints:
|
89
|
-
bp_name = bp["properties"].get("displayName",
|
90
|
-
bp_qname = bp["properties"].get("qualifiedName",
|
93
|
+
bp_name = bp["properties"].get("displayName", "---")
|
94
|
+
bp_qname = bp["properties"].get("qualifiedName", "---")
|
91
95
|
bp_guid = bp["elementHeader"]["guid"]
|
92
|
-
bp_desc = bp["properties"].get("description",
|
96
|
+
bp_desc = bp["properties"].get("description", "---")
|
93
97
|
bp_unique_name = f"{bp_qname}\n\n--\n\n{bp_guid}"
|
94
|
-
bp_mermaid = bp.get("mermaidGraph",
|
95
|
-
if bp_mermaid !=
|
96
|
-
link = save_mermaid_html(
|
98
|
+
bp_mermaid = bp.get("mermaidGraph", "---")
|
99
|
+
if bp_mermaid != "---":
|
100
|
+
link = save_mermaid_html(
|
101
|
+
bp_name, bp_mermaid, f"{EGERIA_MERMAID_FOLDER}/blueprints"
|
102
|
+
)
|
97
103
|
link = f"file://:{link}"
|
98
|
-
bp_mermaid = Text(link, style="blue link " +
|
104
|
+
bp_mermaid = Text(link, style="blue link " + link)
|
99
105
|
|
100
106
|
bp_mermaid_label = Text(f"{bp_name}\n\n--\n\n{bp_mermaid}")
|
101
107
|
|
102
|
-
bp_components = bp.get("solutionComponents",[])
|
103
|
-
comp_md=""
|
108
|
+
bp_components = bp.get("solutionComponents", [])
|
109
|
+
comp_md = ""
|
104
110
|
first_comp = True
|
105
111
|
for component in bp_components:
|
106
|
-
comp = component.get("solutionComponent","")
|
107
|
-
if isinstance(comp,dict) is False:
|
112
|
+
comp = component.get("solutionComponent", "")
|
113
|
+
if isinstance(comp, dict) is False:
|
108
114
|
continue
|
109
|
-
comp_props = comp.get("properties",{})
|
110
|
-
comp_name = comp_props.get("displayName",
|
111
|
-
comp_description = comp_props.get("description",
|
112
|
-
comp_planned = comp_props[
|
113
|
-
|
114
|
-
|
115
|
-
|
115
|
+
comp_props = comp.get("properties", {})
|
116
|
+
comp_name = comp_props.get("displayName", "---")
|
117
|
+
comp_description = comp_props.get("description", "---")
|
118
|
+
comp_planned = comp_props["extendedProperties"].get(
|
119
|
+
"plannedDeployedImplementationType", "---"
|
120
|
+
)
|
121
|
+
comp_type = comp_props.get("solutionComponentType", "---")
|
122
|
+
|
123
|
+
comp_actors = comp_props.get("actors", [])
|
116
124
|
comp_actors_list = ""
|
117
125
|
for actor in comp_actors:
|
118
|
-
comp_actor_role = actor[
|
119
|
-
comp_actor_props = actor[
|
126
|
+
comp_actor_role = actor["relationshipProperties"].get("role", "---")
|
127
|
+
comp_actor_props = actor["relatedElement"].get("properties", {})
|
120
128
|
comp_actor_props_md = f"* Role: {comp_actor_role}\n"
|
121
129
|
for prop in comp_actor_props.keys():
|
122
130
|
comp_actor_props_md += f"* {prop}: {comp_actor_props[prop]}\n"
|
@@ -134,9 +142,6 @@ def blueprint_list(
|
|
134
142
|
|
135
143
|
return table
|
136
144
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
145
|
try:
|
141
146
|
console = Console(width=width, force_terminal=not jupyter)
|
142
147
|
with console.pager():
|
@@ -165,9 +170,7 @@ def main():
|
|
165
170
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
166
171
|
|
167
172
|
try:
|
168
|
-
search_string = Prompt.ask(
|
169
|
-
"Enter a search string:", default="*"
|
170
|
-
)
|
173
|
+
search_string = Prompt.ask("Enter a search string:", default="*")
|
171
174
|
blueprint_list(search_string, server, url, userid, user_pass)
|
172
175
|
except KeyboardInterrupt:
|
173
176
|
pass
|
@@ -11,7 +11,7 @@ import argparse
|
|
11
11
|
import os
|
12
12
|
import time
|
13
13
|
|
14
|
-
from rich import
|
14
|
+
from rich import box, print
|
15
15
|
from rich.console import Console
|
16
16
|
from rich.markdown import Markdown
|
17
17
|
from rich.panel import Panel
|
@@ -20,18 +20,16 @@ from rich.table import Table
|
|
20
20
|
from rich.text import Text
|
21
21
|
from rich.tree import Tree
|
22
22
|
|
23
|
-
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
24
|
-
from pyegeria.solution_architect_omvs import SolutionArchitect
|
25
23
|
from pyegeria import (
|
24
|
+
InvalidParameterException,
|
26
25
|
ProjectManager,
|
27
|
-
UserNotAuthorizedException,
|
28
26
|
PropertyServerException,
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
from pyegeria._exceptions import (
|
33
|
-
print_exception_response,
|
27
|
+
UserNotAuthorizedException,
|
28
|
+
save_mermaid_html,
|
34
29
|
)
|
30
|
+
from pyegeria._exceptions import print_exception_response
|
31
|
+
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
32
|
+
from pyegeria.solution_architect_omvs import SolutionArchitect
|
35
33
|
|
36
34
|
disable_ssl_warnings = True
|
37
35
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -50,6 +48,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
|
50
48
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "150"))
|
51
49
|
EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "work/mermaid_graphs")
|
52
50
|
|
51
|
+
|
53
52
|
def solution_component_list(
|
54
53
|
search_string: str,
|
55
54
|
server_name: str,
|
@@ -75,10 +74,14 @@ def solution_component_list(
|
|
75
74
|
box=box.ROUNDED,
|
76
75
|
caption=f"View Server '{server_name}' @ Platform - {platform_url}",
|
77
76
|
expand=True,
|
78
|
-
|
79
|
-
table.add_column(
|
77
|
+
)
|
78
|
+
table.add_column(
|
79
|
+
"Component Name / Diagram Link", justify="center", no_wrap=False
|
80
|
+
)
|
80
81
|
table.add_column("Component Type / Planned Deployment Type", justify="center")
|
81
|
-
table.add_column(
|
82
|
+
table.add_column(
|
83
|
+
"Qualified Name / GUID", justify="center", width=38, no_wrap=False
|
84
|
+
)
|
82
85
|
table.add_column("Description / HeadCount", justify="center")
|
83
86
|
table.add_column("Sub-Components", justify="center")
|
84
87
|
|
@@ -87,34 +90,43 @@ def solution_component_list(
|
|
87
90
|
return "No components found"
|
88
91
|
|
89
92
|
for component in components:
|
90
|
-
component_name = component["properties"].get("displayName",
|
91
|
-
component_type = component["properties"].get("solutionComponentType",
|
92
|
-
planned_deployment_type =
|
93
|
-
|
93
|
+
component_name = component["properties"].get("displayName", "---")
|
94
|
+
component_type = component["properties"].get("solutionComponentType", "---")
|
95
|
+
planned_deployment_type = (
|
96
|
+
component["properties"]
|
97
|
+
.get("extendedProperties", {})
|
98
|
+
.get("plannedDeployedImplementationType", "---")
|
99
|
+
)
|
100
|
+
component_info = f"Type: {component_type}\n\n--\n\nPlanned Deployment Type: {planned_deployment_type}"
|
94
101
|
|
95
|
-
component_qname = component["properties"].get("qualifiedName",
|
102
|
+
component_qname = component["properties"].get("qualifiedName", "---")
|
96
103
|
component_guid = component["elementHeader"]["guid"]
|
97
104
|
component_unique_name = f"{component_qname}\n\n--\n\n{component_guid}"
|
98
105
|
|
99
|
-
component_desc = component["properties"].get("description",
|
106
|
+
component_desc = component["properties"].get("description", "---")
|
100
107
|
|
101
|
-
|
102
|
-
component_mermaid
|
103
|
-
|
104
|
-
|
108
|
+
component_mermaid = component.get("mermaidGraph", "---")
|
109
|
+
if component_mermaid != "---":
|
110
|
+
link = save_mermaid_html(
|
111
|
+
component_name,
|
112
|
+
component_mermaid,
|
113
|
+
f"{EGERIA_MERMAID_FOLDER}/components",
|
114
|
+
)
|
105
115
|
link = f"file://:{link}"
|
106
|
-
component_mermaid = Text(link, style="blue link " +
|
116
|
+
component_mermaid = Text(link, style="blue link " + link)
|
107
117
|
|
108
|
-
component_mermaid_label = Text(
|
118
|
+
component_mermaid_label = Text(
|
119
|
+
f"{component_name}\n\n--\n\n{component_mermaid}"
|
120
|
+
)
|
109
121
|
|
110
|
-
component_components = component.get("solutionComponents",[])
|
111
|
-
comp_props_md=""
|
122
|
+
component_components = component.get("solutionComponents", [])
|
123
|
+
comp_props_md = ""
|
112
124
|
first_comp = True
|
113
125
|
for component in component_components:
|
114
|
-
comp = component.get("relatedElement","")
|
115
|
-
if isinstance(comp,dict) is False:
|
126
|
+
comp = component.get("relatedElement", "")
|
127
|
+
if isinstance(comp, dict) is False:
|
116
128
|
continue
|
117
|
-
comp_props = comp.get("properties",{})
|
129
|
+
comp_props = comp.get("properties", {})
|
118
130
|
comp_props_md = ""
|
119
131
|
for prop in comp_props.keys():
|
120
132
|
comp_props_md += f"* **{prop}**: {comp_props[prop]}\n"
|
@@ -125,13 +137,16 @@ def solution_component_list(
|
|
125
137
|
comp_props_md += "\n\n---\n\n"
|
126
138
|
|
127
139
|
comp_props_out = Markdown(comp_props_md)
|
128
|
-
table.add_row(
|
140
|
+
table.add_row(
|
141
|
+
component_mermaid_label,
|
142
|
+
component_info,
|
143
|
+
component_unique_name,
|
144
|
+
component_desc,
|
145
|
+
comp_props_out,
|
146
|
+
)
|
129
147
|
|
130
148
|
return table
|
131
149
|
|
132
|
-
|
133
|
-
|
134
|
-
|
135
150
|
try:
|
136
151
|
console = Console(width=width, force_terminal=not jupyter)
|
137
152
|
with console.pager():
|
@@ -160,9 +175,7 @@ def main():
|
|
160
175
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
161
176
|
|
162
177
|
try:
|
163
|
-
search_string = Prompt.ask(
|
164
|
-
"Enter a search string:", default="*"
|
165
|
-
)
|
178
|
+
search_string = Prompt.ask("Enter a search string:", default="*")
|
166
179
|
solution_component_list(search_string, server, url, userid, user_pass)
|
167
180
|
except KeyboardInterrupt:
|
168
181
|
pass
|