pyegeria 5.3.4.2__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.2.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.2.dist-info/RECORD +0 -436
- {pyegeria-5.3.4.2.dist-info → pyegeria-5.3.4.3.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.4.2.dist-info → pyegeria-5.3.4.3.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.4.2.dist-info → pyegeria-5.3.4.3.dist-info}/entry_points.txt +0 -0
pyegeria/mermaid_utilities.py
CHANGED
@@ -17,14 +17,15 @@ import time
|
|
17
17
|
import nest_asyncio
|
18
18
|
|
19
19
|
nest_asyncio.apply()
|
20
|
+
from IPython.display import HTML, display
|
21
|
+
from rich.console import Console
|
22
|
+
|
20
23
|
from pyegeria import (
|
21
24
|
AutomatedCuration,
|
22
25
|
InvalidParameterException,
|
23
26
|
PropertyServerException,
|
24
27
|
UserNotAuthorizedException,
|
25
28
|
)
|
26
|
-
from IPython.display import display, HTML
|
27
|
-
from rich.console import Console
|
28
29
|
|
29
30
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
30
31
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
@@ -78,12 +79,12 @@ def render_mermaid(mermaid_code):
|
|
78
79
|
|
79
80
|
|
80
81
|
def parse_mermaid_code(mermaid_code):
|
81
|
-
parts = mermaid_code.split(
|
82
|
+
parts = mermaid_code.split("---", maxsplit=3)
|
82
83
|
if len(parts) == 3:
|
83
84
|
full_title = parts[1].strip()
|
84
|
-
title_l = full_title.split(
|
85
|
-
title = title_l.replace(
|
86
|
-
guid = full_title.split(
|
85
|
+
title_l = full_title.split("[")[0]
|
86
|
+
title = title_l.replace("title: ", "")
|
87
|
+
guid = full_title.split("[")[1].split("]")[0]
|
87
88
|
guid = " " if guid is None else guid
|
88
89
|
mermaid_code = parts[2].strip()
|
89
90
|
else:
|
@@ -91,6 +92,7 @@ def parse_mermaid_code(mermaid_code):
|
|
91
92
|
guid = " "
|
92
93
|
return title, guid, mermaid_code
|
93
94
|
|
95
|
+
|
94
96
|
def construct_mermaid_html(mermaid_str: str) -> str:
|
95
97
|
"""Function to display a HTML code in a Jupyter notebook"""
|
96
98
|
title_label, guid, mermaid_code = parse_mermaid_code(mermaid_str)
|
@@ -215,7 +217,10 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
215
217
|
|
216
218
|
return html_section1 + html_section2 + html_section3 + mermaid_code + html_section4
|
217
219
|
|
218
|
-
|
220
|
+
|
221
|
+
def save_mermaid_html(
|
222
|
+
title: str, mermaid_str: str, folder: str = EGERIA_MERMAID_FOLDER
|
223
|
+
):
|
219
224
|
"""Save a Mermaid diagram to a file"""
|
220
225
|
if not os.path.exists(folder):
|
221
226
|
os.makedirs(folder)
|
@@ -228,9 +233,7 @@ def save_mermaid_html(title: str, mermaid_str: str, folder:str = EGERIA_MERMAID_
|
|
228
233
|
return mermaid_file
|
229
234
|
|
230
235
|
|
231
|
-
|
232
|
-
|
233
|
-
def save_mermaid_graph(title, mermaid_str, folder:str = EGERIA_MERMAID_FOLDER):
|
236
|
+
def save_mermaid_graph(title, mermaid_str, folder: str = EGERIA_MERMAID_FOLDER):
|
234
237
|
"""Save a Mermaid diagram to a file"""
|
235
238
|
if not os.path.exists(folder):
|
236
239
|
os.makedirs(folder)
|
@@ -354,7 +357,6 @@ def save_mermaid_graph(title, mermaid_str, folder:str = EGERIA_MERMAID_FOLDER):
|
|
354
357
|
return mermaid_file
|
355
358
|
|
356
359
|
|
357
|
-
|
358
360
|
def generate_process_graph(
|
359
361
|
process_guid: str,
|
360
362
|
view_server: str = EGERIA_VIEW_SERVER,
|
@@ -11,9 +11,7 @@ import asyncio
|
|
11
11
|
|
12
12
|
from httpx import Response
|
13
13
|
|
14
|
-
from pyegeria import body_slimmer
|
15
|
-
|
16
|
-
|
14
|
+
from pyegeria.utils import body_slimmer
|
17
15
|
from pyegeria._client import Client, max_paging_size
|
18
16
|
from pyegeria._globals import default_time_out
|
19
17
|
|
@@ -112,7 +110,9 @@ class MetadataExplorer(Client):
|
|
112
110
|
self.platform_url = platform_url
|
113
111
|
self.user_id = user_id
|
114
112
|
self.user_pwd = user_pwd
|
115
|
-
self.metadata_explorer_command_root: str =
|
113
|
+
self.metadata_explorer_command_root: str = (
|
114
|
+
f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/metadata-explorer"
|
115
|
+
)
|
116
116
|
Client.__init__(
|
117
117
|
self,
|
118
118
|
view_server,
|
@@ -489,7 +489,6 @@ class MetadataExplorer(Client):
|
|
489
489
|
)
|
490
490
|
return response
|
491
491
|
|
492
|
-
|
493
492
|
async def _async_get_metadata_element_by_unique_name(
|
494
493
|
self,
|
495
494
|
name: str,
|
pyegeria/my_profile_omvs.py
CHANGED
@@ -3,10 +3,11 @@
|
|
3
3
|
This module contains the MyProfile class and its methods.
|
4
4
|
|
5
5
|
"""
|
6
|
+
|
6
7
|
import asyncio
|
7
8
|
import json
|
8
9
|
|
9
|
-
from pyegeria import body_slimmer
|
10
|
+
from pyegeria.utils import body_slimmer
|
10
11
|
from pyegeria._client import Client
|
11
12
|
from pyegeria._validators import validate_name, validate_search_string
|
12
13
|
|
pyegeria/platform_services.py
CHANGED
@@ -12,15 +12,15 @@ import json
|
|
12
12
|
|
13
13
|
import httpx
|
14
14
|
|
15
|
-
from pyegeria import Client, enable_ssl_check
|
16
|
-
from pyegeria._validators import validate_user_id
|
15
|
+
from pyegeria._client import Client, enable_ssl_check
|
17
16
|
from pyegeria._exceptions import (
|
18
|
-
OMAGCommonErrorCode,
|
19
17
|
InvalidParameterException,
|
20
|
-
|
18
|
+
OMAGCommonErrorCode,
|
21
19
|
PropertyServerException,
|
20
|
+
UserNotAuthorizedException,
|
22
21
|
print_exception_response,
|
23
22
|
)
|
23
|
+
from pyegeria._validators import validate_user_id
|
24
24
|
|
25
25
|
|
26
26
|
class Platform(Client):
|
pyegeria/project_manager_omvs.py
CHANGED
@@ -6,15 +6,13 @@ Copyright Contributors to the ODPi Egeria project.
|
|
6
6
|
https://egeria-project.org/concepts/project
|
7
7
|
|
8
8
|
"""
|
9
|
+
|
9
10
|
import asyncio
|
10
11
|
import time
|
11
12
|
|
12
13
|
# import json
|
13
14
|
from pyegeria._client import Client
|
14
|
-
from pyegeria._validators import
|
15
|
-
validate_guid,
|
16
|
-
validate_search_string,
|
17
|
-
)
|
15
|
+
from pyegeria._validators import validate_guid, validate_search_string
|
18
16
|
from pyegeria.utils import body_slimmer
|
19
17
|
|
20
18
|
|
pyegeria/runtime_manager_omvs.py
CHANGED
@@ -5,17 +5,14 @@ Copyright Contributors to the ODPi Egeria project.
|
|
5
5
|
Runtime manager is a view service that supports user interaction with the running platforms.
|
6
6
|
|
7
7
|
"""
|
8
|
+
|
8
9
|
import asyncio
|
9
10
|
|
10
11
|
from requests import Response
|
11
|
-
|
12
|
-
from pyegeria import
|
13
|
-
|
14
|
-
|
15
|
-
body_slimmer,
|
16
|
-
InvalidParameterException,
|
17
|
-
default_time_out,
|
18
|
-
)
|
12
|
+
from pyegeria.utils import body_slimmer
|
13
|
+
from pyegeria._client import Client
|
14
|
+
from pyegeria import TEMPLATE_GUIDS, max_paging_size,default_time_out
|
15
|
+
from pyegeria._exceptions import InvalidParameterException
|
19
16
|
|
20
17
|
|
21
18
|
class RuntimeManager(Client):
|
pyegeria/server_operations.py
CHANGED
@@ -8,25 +8,27 @@ https://egeria-project.org/concepts/information-supply-chain
|
|
8
8
|
"""
|
9
9
|
|
10
10
|
import asyncio
|
11
|
+
import os
|
12
|
+
import sys
|
11
13
|
|
12
14
|
from httpx import Response
|
13
15
|
|
14
|
-
from pyegeria import body_slimmer
|
16
|
+
from pyegeria.utils import body_slimmer
|
15
17
|
from pyegeria._client import Client, max_paging_size
|
16
|
-
|
17
|
-
import os
|
18
|
+
|
18
19
|
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
19
20
|
|
20
21
|
NO_ELEMENTS_FOUND = "No Elements Found"
|
21
22
|
|
22
23
|
DEFAULT_BODY_SKELETON = {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
"effective_time": None,
|
25
|
+
"limitResultsByStatus": ["ACTIVE"],
|
26
|
+
"asOfTime": None,
|
27
|
+
"sequencingOrder": None,
|
28
|
+
"sequencingProperty": None,
|
29
|
+
"filter": None,
|
30
|
+
}
|
31
|
+
|
30
32
|
|
31
33
|
def query_seperator(current_string):
|
32
34
|
if current_string == "":
|
@@ -83,8 +85,10 @@ class SolutionArchitect(Client):
|
|
83
85
|
self.platform_url = platform_url
|
84
86
|
self.user_id = user_id
|
85
87
|
self.user_pwd = user_pwd
|
86
|
-
self.solution_architect_command_root: str = (
|
87
|
-
|
88
|
+
self.solution_architect_command_root: str = (
|
89
|
+
f"{self.platform_url}/servers/{self.view_server}"
|
90
|
+
f"/api/open-metadata/solution-architect"
|
91
|
+
)
|
88
92
|
Client.__init__(
|
89
93
|
self,
|
90
94
|
view_server,
|
@@ -98,16 +102,17 @@ class SolutionArchitect(Client):
|
|
98
102
|
#
|
99
103
|
#
|
100
104
|
|
101
|
-
async def _async_find_information_supply_chains(
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
105
|
+
async def _async_find_information_supply_chains(
|
106
|
+
self,
|
107
|
+
filter: str = "*",
|
108
|
+
add_implementation: bool = True,
|
109
|
+
starts_with: bool = True,
|
110
|
+
ends_with: bool = False,
|
111
|
+
ignore_case: bool = False,
|
112
|
+
start_from: int = 0,
|
113
|
+
page_size: int = max_paging_size,
|
114
|
+
body: dict = None,
|
115
|
+
) -> list[dict] | str:
|
111
116
|
"""Retrieve the list of information supply chain metadata elements that contain the search string.
|
112
117
|
https://egeria-project.org/concepts/information-supply-chain
|
113
118
|
Async version.
|
@@ -174,16 +179,17 @@ class SolutionArchitect(Client):
|
|
174
179
|
)
|
175
180
|
return response.json().get("elements", NO_ELEMENTS_FOUND)
|
176
181
|
|
177
|
-
def find_information_supply_chains(
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
182
|
+
def find_information_supply_chains(
|
183
|
+
self,
|
184
|
+
filter: str = "*",
|
185
|
+
add_implementation: bool = True,
|
186
|
+
starts_with: bool = True,
|
187
|
+
ends_with: bool = False,
|
188
|
+
ignore_case: bool = False,
|
189
|
+
start_from: int = 0,
|
190
|
+
page_size: int = max_paging_size,
|
191
|
+
body: dict = None,
|
192
|
+
) -> list[dict] | str:
|
187
193
|
"""Retrieve the list of information supply chain metadata elements that contain the search string.
|
188
194
|
https://egeria-project.org/concepts/information-supply-chain
|
189
195
|
|
@@ -227,30 +233,32 @@ class SolutionArchitect(Client):
|
|
227
233
|
ignore_case,
|
228
234
|
start_from,
|
229
235
|
page_size,
|
230
|
-
body,
|
236
|
+
body,
|
237
|
+
)
|
231
238
|
)
|
232
239
|
return response
|
233
240
|
|
241
|
+
def find_all_information_supply_chains(
|
242
|
+
self, start_from: int = 0, page_size: int = max_paging_size
|
243
|
+
) -> list[dict] | str:
|
244
|
+
"""Retrieve a list of all information supply chains
|
245
|
+
https://egeria-project.org/concepts/information-supply-chain
|
246
|
+
"""
|
234
247
|
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
https://egeria-project.org/concepts/information-supply-chain
|
239
|
-
"""
|
240
|
-
|
241
|
-
return (self.find_information_supply_chains('*', start_from = start_from, page_size = page_size ))
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
async def _async_find_solution_blueprints(self,
|
246
|
-
filter: str = "*",
|
247
|
-
starts_with: bool = True,
|
248
|
-
ends_with: bool = False,
|
249
|
-
ignore_case: bool = False,
|
250
|
-
start_from: int = 0,
|
251
|
-
page_size: int = max_paging_size,
|
252
|
-
body: dict = None,) ->list[dict] | str:
|
248
|
+
return self.find_information_supply_chains(
|
249
|
+
"*", start_from=start_from, page_size=page_size
|
250
|
+
)
|
253
251
|
|
252
|
+
async def _async_find_solution_blueprints(
|
253
|
+
self,
|
254
|
+
filter: str = "*",
|
255
|
+
starts_with: bool = True,
|
256
|
+
ends_with: bool = False,
|
257
|
+
ignore_case: bool = False,
|
258
|
+
start_from: int = 0,
|
259
|
+
page_size: int = max_paging_size,
|
260
|
+
body: dict = None,
|
261
|
+
) -> list[dict] | str:
|
254
262
|
"""Retrieve the solution blueprint elements that contain the search string.
|
255
263
|
https://egeria-project.org/concepts/solution-blueprint
|
256
264
|
Async version.
|
@@ -293,7 +301,7 @@ class SolutionArchitect(Client):
|
|
293
301
|
]
|
294
302
|
)
|
295
303
|
|
296
|
-
if filter is None or filter== "*":
|
304
|
+
if filter is None or filter == "*":
|
297
305
|
search_filter = None
|
298
306
|
else:
|
299
307
|
search_filter = filter
|
@@ -314,15 +322,16 @@ class SolutionArchitect(Client):
|
|
314
322
|
)
|
315
323
|
return response.json().get("elements", NO_ELEMENTS_FOUND)
|
316
324
|
|
317
|
-
def find_solution_blueprints(
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
325
|
+
def find_solution_blueprints(
|
326
|
+
self,
|
327
|
+
filter: str = "*",
|
328
|
+
starts_with: bool = True,
|
329
|
+
ends_with: bool = False,
|
330
|
+
ignore_case: bool = False,
|
331
|
+
start_from: int = 0,
|
332
|
+
page_size: int = max_paging_size,
|
333
|
+
body: dict = None,
|
334
|
+
) -> list[dict] | str:
|
326
335
|
"""Retrieve the list of solution blueprint elements that contain the search string.
|
327
336
|
https://egeria-project.org/concepts/solution-blueprint
|
328
337
|
|
@@ -363,27 +372,31 @@ class SolutionArchitect(Client):
|
|
363
372
|
ignore_case,
|
364
373
|
start_from,
|
365
374
|
page_size,
|
366
|
-
body,
|
375
|
+
body,
|
376
|
+
)
|
367
377
|
)
|
368
378
|
return response
|
369
379
|
|
370
|
-
def find_all_solution_blueprints(
|
371
|
-
|
380
|
+
def find_all_solution_blueprints(
|
381
|
+
self, start_from: int = 0, page_size: int = max_paging_size
|
382
|
+
) -> list[dict] | str:
|
372
383
|
"""Retrieve a list of all solution blueprint elements
|
373
384
|
https://egeria-project.org/concepts/solution-blueprint
|
374
385
|
"""
|
375
|
-
return
|
376
|
-
|
377
|
-
|
378
|
-
async def _async_find_solution_roles(self,
|
379
|
-
filter: str = "*",
|
380
|
-
starts_with: bool = True,
|
381
|
-
ends_with: bool = False,
|
382
|
-
ignore_case: bool = False,
|
383
|
-
start_from: int = 0,
|
384
|
-
page_size: int = max_paging_size,
|
385
|
-
body: dict = None,) ->list[dict] | str:
|
386
|
+
return self.find_solution_blueprints(
|
387
|
+
"*", start_from=start_from, page_size=page_size
|
388
|
+
)
|
386
389
|
|
390
|
+
async def _async_find_solution_roles(
|
391
|
+
self,
|
392
|
+
filter: str = "*",
|
393
|
+
starts_with: bool = True,
|
394
|
+
ends_with: bool = False,
|
395
|
+
ignore_case: bool = False,
|
396
|
+
start_from: int = 0,
|
397
|
+
page_size: int = max_paging_size,
|
398
|
+
body: dict = None,
|
399
|
+
) -> list[dict] | str:
|
387
400
|
"""Retrieve the solutio nrole elements that contain the search string.
|
388
401
|
https://egeria-project.org/concepts/actor
|
389
402
|
Async version.
|
@@ -426,7 +439,7 @@ class SolutionArchitect(Client):
|
|
426
439
|
]
|
427
440
|
)
|
428
441
|
|
429
|
-
if filter is None or filter== "*":
|
442
|
+
if filter is None or filter == "*":
|
430
443
|
search_filter = None
|
431
444
|
else:
|
432
445
|
search_filter = filter
|
@@ -447,15 +460,16 @@ class SolutionArchitect(Client):
|
|
447
460
|
)
|
448
461
|
return response.json().get("elements", NO_ELEMENTS_FOUND)
|
449
462
|
|
450
|
-
def find_solution_roles(
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
463
|
+
def find_solution_roles(
|
464
|
+
self,
|
465
|
+
filter: str = "*",
|
466
|
+
starts_with: bool = True,
|
467
|
+
ends_with: bool = False,
|
468
|
+
ignore_case: bool = False,
|
469
|
+
start_from: int = 0,
|
470
|
+
page_size: int = max_paging_size,
|
471
|
+
body: dict = None,
|
472
|
+
) -> list[dict] | str:
|
459
473
|
"""Retrieve the list of solution role elements that contain the search string.
|
460
474
|
https://egeria-project.org/concepts/actor
|
461
475
|
|
@@ -496,28 +510,29 @@ class SolutionArchitect(Client):
|
|
496
510
|
ignore_case,
|
497
511
|
start_from,
|
498
512
|
page_size,
|
499
|
-
body,
|
513
|
+
body,
|
514
|
+
)
|
500
515
|
)
|
501
516
|
return response
|
502
517
|
|
503
|
-
def find_all_solution_roles(
|
504
|
-
|
518
|
+
def find_all_solution_roles(
|
519
|
+
self, start_from: int = 0, page_size: int = max_paging_size
|
520
|
+
) -> list[dict] | str:
|
505
521
|
"""Retrieve a list of all solution blueprint elements
|
506
|
-
|
522
|
+
https://egeria-project.org/concepts/actor
|
507
523
|
"""
|
508
|
-
return
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
async def _async_find_solution_components(self,
|
513
|
-
filter: str = "*",
|
514
|
-
starts_with: bool = True,
|
515
|
-
ends_with: bool = False,
|
516
|
-
ignore_case: bool = False,
|
517
|
-
start_from: int = 0,
|
518
|
-
page_size: int = max_paging_size,
|
519
|
-
body: dict = None,) ->list[dict] | str:
|
524
|
+
return self.find_solution_roles("*", start_from=start_from, page_size=page_size)
|
520
525
|
|
526
|
+
async def _async_find_solution_components(
|
527
|
+
self,
|
528
|
+
filter: str = "*",
|
529
|
+
starts_with: bool = True,
|
530
|
+
ends_with: bool = False,
|
531
|
+
ignore_case: bool = False,
|
532
|
+
start_from: int = 0,
|
533
|
+
page_size: int = max_paging_size,
|
534
|
+
body: dict = None,
|
535
|
+
) -> list[dict] | str:
|
521
536
|
"""Retrieve the solution component elements that contain the search string.
|
522
537
|
https://egeria-project.org/concepts/solution-components
|
523
538
|
Async version.
|
@@ -560,7 +575,7 @@ class SolutionArchitect(Client):
|
|
560
575
|
]
|
561
576
|
)
|
562
577
|
|
563
|
-
if filter is None or filter== "*":
|
578
|
+
if filter is None or filter == "*":
|
564
579
|
search_filter = None
|
565
580
|
else:
|
566
581
|
search_filter = filter
|
@@ -581,15 +596,16 @@ class SolutionArchitect(Client):
|
|
581
596
|
)
|
582
597
|
return response.json().get("elements", NO_ELEMENTS_FOUND)
|
583
598
|
|
584
|
-
def find_solution_components(
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
599
|
+
def find_solution_components(
|
600
|
+
self,
|
601
|
+
filter: str = "*",
|
602
|
+
starts_with: bool = True,
|
603
|
+
ends_with: bool = False,
|
604
|
+
ignore_case: bool = False,
|
605
|
+
start_from: int = 0,
|
606
|
+
page_size: int = max_paging_size,
|
607
|
+
body: dict = None,
|
608
|
+
) -> list[dict] | str:
|
593
609
|
"""Retrieve the list of solution component elements that contain the search string.
|
594
610
|
https://egeria-project.org/concepts/solution-components
|
595
611
|
|
@@ -630,20 +646,20 @@ class SolutionArchitect(Client):
|
|
630
646
|
ignore_case,
|
631
647
|
start_from,
|
632
648
|
page_size,
|
633
|
-
body,
|
649
|
+
body,
|
650
|
+
)
|
634
651
|
)
|
635
652
|
return response
|
636
653
|
|
637
|
-
def find_all_solution_components(
|
638
|
-
|
654
|
+
def find_all_solution_components(
|
655
|
+
self, start_from: int = 0, page_size: int = max_paging_size
|
656
|
+
) -> list[dict] | str:
|
639
657
|
"""Retrieve a list of all solution component elements
|
640
|
-
|
658
|
+
https://egeria-project.org/concepts/solution-components
|
641
659
|
"""
|
642
|
-
return self.find_solution_components(
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
660
|
+
return self.find_solution_components(
|
661
|
+
"*", start_from=start_from, page_size=page_size
|
662
|
+
)
|
647
663
|
|
648
664
|
|
649
665
|
if __name__ == "__main__":
|
@@ -5,17 +5,12 @@ Copyright Contributors to the ODPi Egeria project.
|
|
5
5
|
Template manager is a view service that supports managing metadata elements using templates.
|
6
6
|
|
7
7
|
"""
|
8
|
-
import asyncio
|
9
8
|
|
10
|
-
|
9
|
+
import asyncio
|
11
10
|
|
12
|
-
from pyegeria import
|
13
|
-
|
14
|
-
|
15
|
-
body_slimmer,
|
16
|
-
InvalidParameterException,
|
17
|
-
default_time_out,
|
18
|
-
)
|
11
|
+
from pyegeria._client import Client
|
12
|
+
from pyegeria._globals import default_time_out
|
13
|
+
from pyegeria.utils import body_slimmer
|
19
14
|
|
20
15
|
|
21
16
|
class TemplateManager(Client):
|
pyegeria/utils.py
CHANGED
@@ -5,9 +5,11 @@ Copyright Contributors to the ODPi Egeria project.
|
|
5
5
|
General utility functions in support of the Egeria Python Client package.
|
6
6
|
|
7
7
|
"""
|
8
|
+
|
8
9
|
import json
|
9
|
-
from rich import print, print_json
|
10
10
|
from datetime import datetime
|
11
|
+
|
12
|
+
from rich import print, print_json
|
11
13
|
from rich.console import Console
|
12
14
|
|
13
15
|
console = Console(width=200)
|
pyegeria/valid_metadata_omvs.py
CHANGED
pyegeria/x_action_author_omvs.py
CHANGED
@@ -7,13 +7,10 @@ Copyright Contributors to the ODPi Egeria project.
|
|
7
7
|
|
8
8
|
"""
|
9
9
|
|
10
|
+
|
10
11
|
from requests import Response
|
12
|
+
from pyegeria.automated_curation_omvs import AutomatedCuration
|
11
13
|
|
12
|
-
from pyegeria._exceptions import (
|
13
|
-
InvalidParameterException,
|
14
|
-
)
|
15
|
-
from pyegeria import Platform, AutomatedCuration
|
16
|
-
import asyncio
|
17
14
|
|
18
15
|
|
19
16
|
class ActionAuthor(AutomatedCuration):
|