pyegeria 5.4.7.5__tar.gz → 5.4.7.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyegeria-5.4.7.5/pyegeria.egg-info → pyegeria-5.4.7.6}/PKG-INFO +1 -1
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_engine_activity.py +1 -1
- pyegeria-5.4.7.6/examples/Coco_config/README.md +19 -0
- pyegeria-5.4.7.6/examples/Coco_config/__init__.py +4 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDS1.py +108 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDS2.py +126 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDS3.py +109 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDS4.py +91 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDS5.py +116 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDS6.py +114 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoMDSx.py +119 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_cocoView1.py +155 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_coco_core.py +255 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_coco_datalake.py +450 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_exchangeDL01.py +106 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_governDL01.py +80 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_monitorDev01.py +60 -0
- pyegeria-5.4.7.6/examples/Coco_config/config_monitorGov01.py +194 -0
- pyegeria-5.4.7.6/examples/Coco_config/globals.py +154 -0
- pyegeria-5.4.7.6/examples/GeoSpatial Products Example.py +546 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/P-egeria-server-config.ipynb +2137 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/README.md +2 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/P-environment-check.ipynb +115 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/__init__.py +14 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/common-functions.ipynb +4694 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/environment-check.ipynb +53 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/globals.ipynb +184 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/globals.py +154 -0
- pyegeria-5.4.7.6/examples/Jupyter Notebooks/common/orig_globals.py +152 -0
- pyegeria-5.4.7.6/examples/format_sets/all_format_sets.json +910 -0
- pyegeria-5.4.7.6/examples/format_sets/custom_format_sets.json +268 -0
- pyegeria-5.4.7.6/examples/format_sets/subset_format_sets.json +187 -0
- pyegeria-5.4.7.6/examples/format_sets_save_load_example.py +294 -0
- pyegeria-5.4.7.6/examples/output_formats_example.py +193 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/solution_architect_commands.py +1 -1
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/automated_curation.py +12 -153
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/solution_architect.py +6 -4
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6/pyegeria.egg-info}/PKG-INFO +1 -1
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria.egg-info/SOURCES.txt +32 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyproject.toml +1 -1
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_automated_curation_omvs.py +1 -4
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_solution_architect_omvs.py +12 -18
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/LICENSE +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/MANIFEST.in +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/README.md +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/Dr-Egeria_md-orig.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/dr_egeria_command_help.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/dr_egeria_jupyter.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/dr_egeria_md.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/exp_list_glossaries.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/get_collection.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/get_project_structure.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/glossary_actions.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_assets.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_cert_types.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_collections.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_data_designer.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_data_structures_full.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_deployed_catalogs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_deployed_database_schemas.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_deployed_databases.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_deployed_servers.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_format_set.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_glossaries.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_projects.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_tech_type_elements.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_tech_types.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_terms.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_todos.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cat/list_user_ids.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/egeria.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/egeria_cat.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/egeria_login_tui.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/egeria_my.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/egeria_ops.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/egeria_tech.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/cli/ops_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/my/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/my/list_my_profile.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/my/list_my_roles.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/my/todo_actions.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/gov_server_actions.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/list_archives.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/load_archive.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_server_startup.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/orig_monitor_server_list.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/orig_monitor_server_status.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/table_integ_daemon_status.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/ops/x_engine_actions.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/generic_actions.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/get_element_info.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/get_guid_info.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/get_tech_details.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/get_tech_type_template.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_all_om_type_elements.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_all_om_type_elements_x.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_all_related_elements.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_anchored_elements.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_asset_types.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_elements_by_property_value.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_elements_by_property_value_x.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_elements_for_classification.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_gov_action_processes.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_information_supply_chains.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_registered_services.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_related_elements_with_prop_value.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_related_specification.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_relationships.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_solution_blueprints.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_solution_components.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_solution_roles.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/table_tech_templates.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/data/commands-working.json +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/data/commands.json +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/data/generated_format_sets.json +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/data/generated_format_sets.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/dr_egeria.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/data_designer_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/ext_ref_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/glossary_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/governance_officer_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/product_manager_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/project_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_commands/view_commands.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/common_md_proc_utils.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/common_md_utils.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/determine_width.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/extraction_utils.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/gen_format_sets.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/generate_dr_help.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/generate_md_cmd_templates.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/generate_md_templates.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/md_processing_constants.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/md_processing/md_processing_utils/message_constants.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/__init__.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_client_new.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_exceptions.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_exceptions_new.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_globals.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_output_format_models.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_output_formats.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/_validators.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/classification_manager.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/collection_manager.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/collection_models.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/data_designer.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/egeria_cat_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/egeria_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/egeria_config_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/egeria_my_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/egeria_tech_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/external_references.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/format_set_executor.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/glossary_manager.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/governance_officer.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/load_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/logging_configuration.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/mcp_adapter.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/mcp_server.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/md_processing_utils.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/md_processing_utils_orig.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/mermaid_utilities.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/metadata_explorer_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/models.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/output_formatter.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/platform_services.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/project_manager.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/reference_data.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/registered_info.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/server_operations.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/template_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/utils.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/valid_metadata_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria/x_action_author_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria.egg-info/dependency_links.txt +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria.egg-info/entry_points.txt +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria.egg-info/requires.txt +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/pyegeria.egg-info/top_level.txt +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/setup.cfg +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_asset_catalog_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_classification_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_collection_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_config_unit.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_core_omag_server_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_data_designer.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_dr_egeria_command_help_modes.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_egeria_cat_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_egeria_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_egeria_my_client.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_env_settings.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_external_references.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_feedback_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_format_set_dict.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_full_omag_server_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_glossary_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_governance_officer_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_load_config.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_mcp_adapter.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_metadata_explorer_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_my_profile_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_output_format_models_unit.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_output_format_sets_unit.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_output_formats.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_platform_services.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_project_manager_omvs.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_reference_data.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_registered_info.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_root_path.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_runtime_manager.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_server_operations.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_utils.py +0 -0
- {pyegeria-5.4.7.5 → pyegeria-5.4.7.6}/tests/test_valid_metadata_omvs.py +0 -0
@@ -109,7 +109,7 @@ def display_engine_activity(
|
|
109
109
|
table.add_column("Process Name")
|
110
110
|
table.add_column("Completion Message")
|
111
111
|
|
112
|
-
action_status = g_client.
|
112
|
+
action_status = g_client.get_active_engine_actions()
|
113
113
|
|
114
114
|
if type(action_status) is str:
|
115
115
|
requested_time = " "
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# pyegeria: Coco Pharmaceuticals Lab Configurations
|
2
|
+
|
3
|
+
This is an experimental package that demonstrates how we can configure the servers used in the
|
4
|
+
Egeria Jupyter Labs [Egeria Project - Open metadata and governance for enterprises](https://egeria-project.org/guides/operations/kubernetes/charts/lab/?h=coco)
|
5
|
+
using the new pyegeria client.
|
6
|
+
|
7
|
+
This package will evolve with planned enhancements to the Coco Pharmaceuticals Jupyter Labs.
|
8
|
+
|
9
|
+
All feedback is welcome. Please engage via our [community](http://egeria-project.org/guides/community/),
|
10
|
+
team calls, or via github issues in this repo. If interested in contributing,
|
11
|
+
you can engage via the community or directly reach out to
|
12
|
+
[dan.wolfson\@pdr-associates.com](mailto:dan.wolfson@pdr-associates.com?subject=pyegeria).
|
13
|
+
|
14
|
+
This is a learning experience.
|
15
|
+
|
16
|
+
|
17
|
+
----
|
18
|
+
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
|
19
|
+
Copyright Contributors to the ODPi Egeria project.
|
@@ -0,0 +1,108 @@
|
|
1
|
+
"""
|
2
|
+
SPDX-License-Identifier: Apache-2.0
|
3
|
+
Copyright Contributors to the ODPi Egeria project.
|
4
|
+
|
5
|
+
Egeria Coco Pharmaceutical demonstration labs.
|
6
|
+
|
7
|
+
Configuring cocoMDS1 - Data Lake Operations metadata server
|
8
|
+
|
9
|
+
"""
|
10
|
+
|
11
|
+
import json
|
12
|
+
|
13
|
+
from globals import adminUserId, cocoCohort, cocoMDS1Name, dataLakePlatformURL
|
14
|
+
|
15
|
+
from pyegeria import CoreServerConfig, Platform, print_exception_response
|
16
|
+
|
17
|
+
mdr_server = cocoMDS1Name
|
18
|
+
platform_url = dataLakePlatformURL
|
19
|
+
admin_user = adminUserId
|
20
|
+
mdr_server_user_id = "cocoMDS1npa"
|
21
|
+
mdr_server_password = "cocoMDS1passw0rd"
|
22
|
+
metadataCollectionId = f"{mdr_server}-e915f2fa-aa3g-4396-8bde-bcd65e642b1d"
|
23
|
+
metadataCollectionName = "Data Lake Catalog"
|
24
|
+
|
25
|
+
max_page_size = 600
|
26
|
+
|
27
|
+
print("Configuring " + mdr_server + "..." + " @ " + platform_url)
|
28
|
+
|
29
|
+
try:
|
30
|
+
o_client = CoreServerConfig(mdr_server, platform_url, admin_user)
|
31
|
+
|
32
|
+
o_client.set_basic_server_properties(
|
33
|
+
"Data lake operations",
|
34
|
+
"Coco Pharmaceuticals",
|
35
|
+
platform_url,
|
36
|
+
mdr_server_user_id,
|
37
|
+
mdr_server_password,
|
38
|
+
max_page_size,
|
39
|
+
mdr_server,
|
40
|
+
)
|
41
|
+
|
42
|
+
# Can also inherit event bus config from application properties
|
43
|
+
|
44
|
+
event_bus_config = {
|
45
|
+
"producer": {"bootstrap.servers": "{{kafkaEndpoint}}"},
|
46
|
+
"consumer": {"bootstrap.servers": "{{kafkaEndpoint}}"},
|
47
|
+
}
|
48
|
+
|
49
|
+
o_client.set_event_bus(event_bus_config)
|
50
|
+
|
51
|
+
security_connection_body = {
|
52
|
+
"class": "Connection",
|
53
|
+
"connectorType": {
|
54
|
+
"class": "ConnectorType",
|
55
|
+
"connectorProviderClassName": "org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider",
|
56
|
+
},
|
57
|
+
}
|
58
|
+
o_client.set_xtdb_local_kv_repository()
|
59
|
+
# o_client.set_in_mem_local_repository()
|
60
|
+
o_client.add_default_log_destinations()
|
61
|
+
o_client.set_server_security_connection(security_connection_body)
|
62
|
+
o_client.set_local_metadata_collection_name(metadataCollectionName)
|
63
|
+
o_client.set_local_metadata_collection_id(metadataCollectionId)
|
64
|
+
|
65
|
+
o_client.add_cohort_registration(cocoCohort)
|
66
|
+
|
67
|
+
print(f"Configuring {mdr_server} Access Services (OMAS)....")
|
68
|
+
|
69
|
+
# o_client.configure_all_access_services()
|
70
|
+
access_service_options = {
|
71
|
+
"SupportedZones": [
|
72
|
+
"quarantine",
|
73
|
+
"clinical-trials",
|
74
|
+
"research",
|
75
|
+
"data-lake",
|
76
|
+
"trash-can",
|
77
|
+
]
|
78
|
+
}
|
79
|
+
|
80
|
+
# o_client.configure_access_service("asset-catalog", access_service_options)
|
81
|
+
o_client.configure_access_service("asset-consumer", access_service_options)
|
82
|
+
|
83
|
+
access_service_options["DefaultZones"] = ["quarantine"]
|
84
|
+
access_service_options["PublishZones"] = ["data-lake"]
|
85
|
+
|
86
|
+
# print(f"Access Service Options: {access_service_options}")
|
87
|
+
|
88
|
+
o_client.configure_access_service("asset-manager", access_service_options)
|
89
|
+
o_client.configure_access_service("asset-owner", access_service_options)
|
90
|
+
o_client.configure_access_service("community-profile", {"KarmaPointPlateau": "500"})
|
91
|
+
# o_client.configure_access_service("glossary-view", {})
|
92
|
+
# o_client.configure_access_service("data-engine", access_service_options)
|
93
|
+
o_client.configure_access_service("data-manager", access_service_options)
|
94
|
+
o_client.configure_access_service("digital-architecture", access_service_options)
|
95
|
+
o_client.configure_access_service("governance-engine", access_service_options)
|
96
|
+
o_client.configure_access_service("governance-server", access_service_options)
|
97
|
+
o_client.configure_access_service("asset-lineage", access_service_options)
|
98
|
+
|
99
|
+
print(f"Activating {mdr_server}")
|
100
|
+
p_client = Platform(mdr_server, platform_url, admin_user)
|
101
|
+
p_client.activate_server_stored_config()
|
102
|
+
|
103
|
+
config = o_client.get_stored_configuration()
|
104
|
+
print(f"\n\n\tConfiguration of {mdr_server} is complete.")
|
105
|
+
print(f"\nThe server stored configuration is:\n {json.dumps(config, indent=4)}")
|
106
|
+
|
107
|
+
except Exception as e:
|
108
|
+
print_exception_response(e)
|
@@ -0,0 +1,126 @@
|
|
1
|
+
"""
|
2
|
+
SPDX-License-Identifier: Apache-2.0
|
3
|
+
Copyright Contributors to the ODPi Egeria project.
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
Egeria Coco Pharmaceutical demonstration labs.
|
8
|
+
|
9
|
+
This script creates and configures the cocoMDS2 - Governance metadata server
|
10
|
+
|
11
|
+
|
12
|
+
"""
|
13
|
+
|
14
|
+
import json
|
15
|
+
|
16
|
+
from globals import (
|
17
|
+
cocoCohort,
|
18
|
+
cocoMDS2Name,
|
19
|
+
corePlatformURL,
|
20
|
+
devCohort,
|
21
|
+
iotCohort,
|
22
|
+
max_paging_size,
|
23
|
+
)
|
24
|
+
|
25
|
+
from pyegeria import CoreServerConfig, Platform, print_exception_response
|
26
|
+
|
27
|
+
disable_ssl_warnings = True
|
28
|
+
|
29
|
+
mdr_server = cocoMDS2Name
|
30
|
+
platform_url = corePlatformURL
|
31
|
+
admin_user = "garygeeke"
|
32
|
+
mdr_server_user_id = "cocoMDS2npa"
|
33
|
+
mdr_server_password = "cocoMDS2passw0rd"
|
34
|
+
metadataCollectionId = f"{mdr_server}-e915f2fa-aa3g-4396-8bde-bcd65e642b1d"
|
35
|
+
metadataCollectionName = "Governance Catalog"
|
36
|
+
|
37
|
+
print("Configuring " + mdr_server + "...")
|
38
|
+
|
39
|
+
try:
|
40
|
+
o_client = CoreServerConfig(mdr_server, platform_url, admin_user)
|
41
|
+
|
42
|
+
o_client.set_basic_server_properties(
|
43
|
+
"Governance Server",
|
44
|
+
"Coco Pharmaceuticals",
|
45
|
+
platform_url,
|
46
|
+
mdr_server_user_id,
|
47
|
+
mdr_server_password,
|
48
|
+
max_paging_size,
|
49
|
+
)
|
50
|
+
|
51
|
+
# Inherit event bus config
|
52
|
+
|
53
|
+
event_bus_config = {
|
54
|
+
"producer": {"bootstrap.servers": "{{kafkaEndpoint}}"},
|
55
|
+
"consumer": {"bootstrap.servers": "{{kafkaEndpoint}}"},
|
56
|
+
}
|
57
|
+
|
58
|
+
o_client.set_event_bus(event_bus_config)
|
59
|
+
|
60
|
+
security_connection_body = {
|
61
|
+
"class": "Connection",
|
62
|
+
"connectorType": {
|
63
|
+
"class": "ConnectorType",
|
64
|
+
"connectorProviderClassName": "org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider",
|
65
|
+
},
|
66
|
+
}
|
67
|
+
|
68
|
+
o_client.set_server_security_connection(security_connection_body)
|
69
|
+
o_client.add_default_log_destinations()
|
70
|
+
|
71
|
+
# o_client.set_in_mem_local_repository()
|
72
|
+
# o_client.set_xtdb_local_kv_repository()
|
73
|
+
body = {
|
74
|
+
"xtdbConfigEDN": """{:xtdb/index-store {:kv-store {:xtdb/module xtdb.rocksdb/->kv-store :db-dir "data/servers/xtdb/rdb-index"}}
|
75
|
+
:xtdb.lucene/lucene-store {:db-dir "data/servers/xtdb/lucene"
|
76
|
+
:indexer {:xtdb/module xtdb.lucene.egeria/->egeria-indexer}
|
77
|
+
:analyzer {:xtdb/module xtdb.lucene.egeria/->ci-analyzer}}
|
78
|
+
:xtdb.jdbc/connection-pool {:dialect {:xtdb/module xtdb.jdbc.psql/->dialect}
|
79
|
+
:db-spec {:jdbcUrl "jdbc:postgresql://host.docker.internal:5442/xtdb?user=postgres&password=egeria"}}
|
80
|
+
:xtdb/tx-log {:xtdb/module xtdb.jdbc/->tx-log
|
81
|
+
:connection-pool :xtdb.jdbc/connection-pool
|
82
|
+
:poll-sleep-duration "PT1S"}
|
83
|
+
:xtdb/document-store {:xtdb/module xtdb.jdbc/->document-store
|
84
|
+
:connection-pool :xtdb.jdbc/connection-pool}}""",
|
85
|
+
"syncIndex": True,
|
86
|
+
}
|
87
|
+
o_client.add_startup_open_metadata_archive_file(
|
88
|
+
"content-packs/CoreContentPack.omarchive"
|
89
|
+
)
|
90
|
+
o_client.set_xtdb_local_repository(body)
|
91
|
+
o_client.set_local_metadata_collection_id(metadataCollectionId)
|
92
|
+
o_client.set_local_metadata_collection_name(metadataCollectionName)
|
93
|
+
|
94
|
+
o_client.add_cohort_registration(cocoCohort)
|
95
|
+
o_client.add_cohort_registration(devCohort)
|
96
|
+
o_client.add_cohort_registration(iotCohort)
|
97
|
+
|
98
|
+
print(f"Configuring {mdr_server} Access Services (OMAS)....")
|
99
|
+
|
100
|
+
# o_client.configure_access_service("asset-catalog", {})
|
101
|
+
o_client.configure_access_service("asset-consumer", {})
|
102
|
+
|
103
|
+
o_client.configure_access_service("asset-owner", {})
|
104
|
+
o_client.configure_access_service("community-profile", {"KarmaPointPlateau": "500"})
|
105
|
+
# o_client.configure_access_service("glossary-view", {})
|
106
|
+
# o_client.configure_access_service("subject-area", {})
|
107
|
+
o_client.configure_access_service("governance-engine", {})
|
108
|
+
o_client.configure_access_service("governance-server", {})
|
109
|
+
o_client.configure_access_service("governance-program", {})
|
110
|
+
# o_client.configure_access_service("data-privacy", {})
|
111
|
+
o_client.configure_access_service("digital-architecture", {})
|
112
|
+
# o_client.configure_access_service("security-manager", {})
|
113
|
+
# o_client.configure_access_service("asset-lineage", {})
|
114
|
+
# o_client.configure_access_service("it-infrastructure", {})
|
115
|
+
# o_client.configure_access_service("project-management", {})
|
116
|
+
|
117
|
+
p_client = Platform(mdr_server, platform_url, admin_user)
|
118
|
+
p_client.activate_server_stored_config()
|
119
|
+
|
120
|
+
print(f"\n\n\tConfiguration of {mdr_server} is complete.")
|
121
|
+
|
122
|
+
config = o_client.get_stored_configuration()
|
123
|
+
print(f"The server stored configuration is \n{json.dumps(config, indent=4)}")
|
124
|
+
|
125
|
+
except Exception as e:
|
126
|
+
print_exception_response(e)
|
@@ -0,0 +1,109 @@
|
|
1
|
+
"""
|
2
|
+
SPDX-License-Identifier: Apache-2.0
|
3
|
+
Copyright Contributors to the ODPi Egeria project.
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
Egeria Coco Pharmaceutical demonstration labs.
|
8
|
+
|
9
|
+
This script creates and configures the cocoMDS3 - Research server.
|
10
|
+
|
11
|
+
"""
|
12
|
+
|
13
|
+
import json
|
14
|
+
|
15
|
+
from globals import cocoCohort, cocoMDS3Name, corePlatformURL, max_paging_size
|
16
|
+
|
17
|
+
from pyegeria import print_exception_response
|
18
|
+
from pyegeria.core_omag_server_config import CoreServerConfig
|
19
|
+
from pyegeria.platform_services import Platform
|
20
|
+
|
21
|
+
mdr_server = cocoMDS3Name
|
22
|
+
platform_url = corePlatformURL
|
23
|
+
admin_user = "garygeeke"
|
24
|
+
mdr_server_user_id = "cocoMDS3npa"
|
25
|
+
mdr_server_password = "cocoMDS3passw0rd"
|
26
|
+
metadataCollectionId = f"{mdr_server}-e915f2fa-aa3g-4396-8bde-bcd65e642b1d"
|
27
|
+
metadataCollectionName = "Research Catalog"
|
28
|
+
|
29
|
+
print("Configuring " + mdr_server + "...")
|
30
|
+
try:
|
31
|
+
o_client = CoreServerConfig(mdr_server, platform_url, admin_user)
|
32
|
+
|
33
|
+
o_client.set_basic_server_properties(
|
34
|
+
"Research Server",
|
35
|
+
"Coco Pharmaceuticals",
|
36
|
+
platform_url,
|
37
|
+
mdr_server_user_id,
|
38
|
+
mdr_server_password,
|
39
|
+
max_paging_size,
|
40
|
+
)
|
41
|
+
|
42
|
+
# Can inherit event bus config
|
43
|
+
|
44
|
+
# event_bus_config = {
|
45
|
+
# "producer": {
|
46
|
+
# "bootstrap.servers": "localhost:9092"
|
47
|
+
# },
|
48
|
+
# "consumer": {
|
49
|
+
# "bootstrap.servers": "localhost:9092"
|
50
|
+
# }
|
51
|
+
# }
|
52
|
+
#
|
53
|
+
# o_client.set_event_bus(event_bus_config)
|
54
|
+
|
55
|
+
security_connection_body = {
|
56
|
+
"class": "Connection",
|
57
|
+
"connectorType": {
|
58
|
+
"class": "ConnectorType",
|
59
|
+
"connectorProviderClassName": "org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider",
|
60
|
+
},
|
61
|
+
}
|
62
|
+
o_client.set_server_security_connection(security_connection_body)
|
63
|
+
o_client.add_default_log_destinations()
|
64
|
+
|
65
|
+
# o_client.set_in_mem_local_repository()
|
66
|
+
o_client.set_xtdb_local_kv_repository()
|
67
|
+
|
68
|
+
o_client.set_local_metadata_collection_id(metadataCollectionId)
|
69
|
+
o_client.set_local_metadata_collection_name(metadataCollectionName)
|
70
|
+
|
71
|
+
o_client.add_cohort_registration(cocoCohort)
|
72
|
+
|
73
|
+
print(f"Configuring {mdr_server} Access Services (OMAS)....")
|
74
|
+
|
75
|
+
access_service_options = {
|
76
|
+
"SupportedZones": [
|
77
|
+
"personal-files",
|
78
|
+
"clinical-trials",
|
79
|
+
"research",
|
80
|
+
"data-lake",
|
81
|
+
"trash-can",
|
82
|
+
]
|
83
|
+
}
|
84
|
+
# o_client.configure_access_service("asset-catalog", access_service_options)
|
85
|
+
o_client.configure_access_service("asset-consumer", access_service_options)
|
86
|
+
|
87
|
+
access_service_options["DefaultZones"] = ["personal-files"]
|
88
|
+
|
89
|
+
o_client.configure_access_service("asset-owner", access_service_options)
|
90
|
+
o_client.configure_access_service("community-profile", {"KarmaPointPlateau": "500"})
|
91
|
+
# o_client.configure_access_service("glossary-view", {})
|
92
|
+
o_client.configure_access_service("data-science", {})
|
93
|
+
# o_client.configure_access_service("subject-area", {})
|
94
|
+
o_client.configure_access_service("asset-manager", access_service_options)
|
95
|
+
o_client.configure_access_service("governance-engine", access_service_options)
|
96
|
+
o_client.configure_access_service("governance-server", access_service_options)
|
97
|
+
|
98
|
+
o_client.configure_access_service("project-management", access_service_options)
|
99
|
+
|
100
|
+
p_client = Platform(mdr_server, platform_url, admin_user)
|
101
|
+
p_client.activate_server_stored_config()
|
102
|
+
|
103
|
+
print(f"\n\n\tConfiguration of {mdr_server} is complete.")
|
104
|
+
|
105
|
+
config = o_client.get_stored_configuration()
|
106
|
+
print(f"The server stored configuration is \n{json.dumps(config, indent=4)}")
|
107
|
+
|
108
|
+
except Exception as e:
|
109
|
+
print_exception_response(e)
|
@@ -0,0 +1,91 @@
|
|
1
|
+
"""
|
2
|
+
SPDX-License-Identifier: Apache-2.0
|
3
|
+
Copyright Contributors to the ODPi Egeria project.
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
Egeria Coco Pharmaceutical demonstration labs.
|
8
|
+
|
9
|
+
This script creates and configures the cocoMDS4 - Data Lake Users
|
10
|
+
|
11
|
+
"""
|
12
|
+
|
13
|
+
import json
|
14
|
+
|
15
|
+
from globals import cocoCohort, cocoMDS4Name, dataLakePlatformURL, max_paging_size
|
16
|
+
|
17
|
+
from pyegeria import CoreServerConfig, Platform, print_exception_response
|
18
|
+
|
19
|
+
disable_ssl_warnings = True
|
20
|
+
|
21
|
+
mdr_server = cocoMDS4Name
|
22
|
+
platform_url = dataLakePlatformURL
|
23
|
+
admin_user = "garygeeke"
|
24
|
+
mdr_server_user_id = "cocoMDS4npa"
|
25
|
+
mdr_server_password = "cocoMDS4passw0rd"
|
26
|
+
metadataCollectionId = f"{mdr_server}-e915f2fa-aa3g-4396-8bde-bcd65e642b1d"
|
27
|
+
metadataCollectionName = "Data Lake Users"
|
28
|
+
|
29
|
+
print("Configuring " + mdr_server + "...")
|
30
|
+
|
31
|
+
try:
|
32
|
+
o_client = CoreServerConfig(mdr_server, platform_url, admin_user)
|
33
|
+
|
34
|
+
o_client.set_basic_server_properties(
|
35
|
+
"Data Lake Users",
|
36
|
+
"Coco Pharmaceuticals",
|
37
|
+
platform_url,
|
38
|
+
mdr_server_user_id,
|
39
|
+
mdr_server_password,
|
40
|
+
max_paging_size,
|
41
|
+
)
|
42
|
+
|
43
|
+
# Inherit event bus config
|
44
|
+
|
45
|
+
# event_bus_config = {
|
46
|
+
# "producer": {
|
47
|
+
# "bootstrap.servers": "localhost:9092"
|
48
|
+
# },
|
49
|
+
# "consumer": {
|
50
|
+
# "bootstrap.servers": "localhost:9092"
|
51
|
+
# }
|
52
|
+
# }
|
53
|
+
#
|
54
|
+
# o_client.set_event_bus(event_bus_config)
|
55
|
+
|
56
|
+
security_connection_body = {
|
57
|
+
"class": "Connection",
|
58
|
+
"connectorType": {
|
59
|
+
"class": "ConnectorType",
|
60
|
+
"connectorProviderClassName": "org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider",
|
61
|
+
},
|
62
|
+
}
|
63
|
+
|
64
|
+
o_client.set_server_security_connection(security_connection_body)
|
65
|
+
o_client.add_default_log_destinations()
|
66
|
+
|
67
|
+
# Note: no metadata repository or collection configuration in this server.
|
68
|
+
|
69
|
+
o_client.add_cohort_registration(cocoCohort)
|
70
|
+
|
71
|
+
print(f"Configuring {mdr_server} Access Services (OMAS)....")
|
72
|
+
|
73
|
+
accessServiceOptions = {"SupportedZones": ["data-lake"]}
|
74
|
+
|
75
|
+
# o_client.configure_access_service("asset-catalog", accessServiceOptions)
|
76
|
+
o_client.configure_access_service("asset-consumer", accessServiceOptions)
|
77
|
+
o_client.configure_access_service("asset-owner", {})
|
78
|
+
o_client.configure_access_service("community-profile", {"KarmaPointPlateau": "500"})
|
79
|
+
# o_client.configure_access_service("glossary-view", {})
|
80
|
+
o_client.configure_access_service("data-science", accessServiceOptions)
|
81
|
+
|
82
|
+
p_client = Platform(mdr_server, platform_url, admin_user)
|
83
|
+
p_client.activate_server_stored_config()
|
84
|
+
|
85
|
+
print(f"\n\n\tConfiguration of {mdr_server} is complete.")
|
86
|
+
|
87
|
+
config = o_client.get_stored_configuration()
|
88
|
+
print(f"The server stored configuration is \n{json.dumps(config, indent=4)}")
|
89
|
+
|
90
|
+
except Exception as e:
|
91
|
+
print_exception_response(e)
|
@@ -0,0 +1,116 @@
|
|
1
|
+
"""
|
2
|
+
SPDX-License-Identifier: Apache-2.0
|
3
|
+
Copyright Contributors to the ODPi Egeria project.
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
Egeria Coco Pharmaceutical demonstration labs.
|
8
|
+
|
9
|
+
This script creates and configures the cocoMDS5 - Business Systems
|
10
|
+
|
11
|
+
"""
|
12
|
+
|
13
|
+
import json
|
14
|
+
|
15
|
+
from globals import (
|
16
|
+
adminUserId,
|
17
|
+
cocoCohort,
|
18
|
+
cocoMDS1Name,
|
19
|
+
cocoMDS2Name,
|
20
|
+
cocoMDS3Name,
|
21
|
+
cocoMDS4Name,
|
22
|
+
cocoMDS5Name,
|
23
|
+
cocoMDS6Name,
|
24
|
+
cocoMDSxName,
|
25
|
+
cocoOLS1Name,
|
26
|
+
cocoView1Name,
|
27
|
+
corePlatformName,
|
28
|
+
corePlatformURL,
|
29
|
+
dataLakePlatformName,
|
30
|
+
dataLakePlatformURL,
|
31
|
+
devCohort,
|
32
|
+
devPlatformName,
|
33
|
+
devPlatformURL,
|
34
|
+
iotCohort,
|
35
|
+
max_paging_size,
|
36
|
+
)
|
37
|
+
|
38
|
+
from pyegeria import (
|
39
|
+
InvalidParameterException,
|
40
|
+
PropertyServerException,
|
41
|
+
UserNotAuthorizedException,
|
42
|
+
print_exception_response,
|
43
|
+
)
|
44
|
+
from pyegeria.core_omag_server_config import CoreServerConfig
|
45
|
+
from pyegeria.platform_services import Platform
|
46
|
+
|
47
|
+
disable_ssl_warnings = True
|
48
|
+
|
49
|
+
mdr_server = cocoMDS5Name
|
50
|
+
platform_url = corePlatformURL
|
51
|
+
admin_user = "garygeeke"
|
52
|
+
mdr_server_user_id = "cocoMDS5npa"
|
53
|
+
mdr_server_password = "cocoMDS5passw0rd"
|
54
|
+
metadataCollectionId = f"{mdr_server}-e915f2fa-aa3g-4396-8bde-bcd65e642b1d"
|
55
|
+
metadataCollectionName = "Business Systems Catalog"
|
56
|
+
|
57
|
+
print("Configuring " + mdr_server + "...")
|
58
|
+
try:
|
59
|
+
o_client = CoreServerConfig(mdr_server, platform_url, admin_user)
|
60
|
+
|
61
|
+
o_client.set_basic_server_properties(
|
62
|
+
"Business Systems",
|
63
|
+
"Coco Pharmaceuticals",
|
64
|
+
platform_url,
|
65
|
+
mdr_server_user_id,
|
66
|
+
mdr_server_password,
|
67
|
+
max_paging_size,
|
68
|
+
)
|
69
|
+
|
70
|
+
# Inherit event bus config
|
71
|
+
|
72
|
+
# event_bus_config = {
|
73
|
+
# "producer": {
|
74
|
+
# "bootstrap.servers": "localhost:9092"
|
75
|
+
# },
|
76
|
+
# "consumer": {
|
77
|
+
# "bootstrap.servers": "localhost:9092"
|
78
|
+
# }
|
79
|
+
# }
|
80
|
+
#
|
81
|
+
# o_client.set_event_bus(event_bus_config)
|
82
|
+
|
83
|
+
security_connection_body = {
|
84
|
+
"class": "Connection",
|
85
|
+
"connectorType": {
|
86
|
+
"class": "ConnectorType",
|
87
|
+
"connectorProviderClassName": "org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider",
|
88
|
+
},
|
89
|
+
}
|
90
|
+
o_client.set_server_security_connection(security_connection_body)
|
91
|
+
o_client.add_default_log_destinations()
|
92
|
+
|
93
|
+
# o_client.set_in_mem_local_repository()
|
94
|
+
o_client.set_xtdb_local_kv_repository()
|
95
|
+
|
96
|
+
o_client.set_local_metadata_collection_id(metadataCollectionId)
|
97
|
+
o_client.set_local_metadata_collection_name(metadataCollectionName)
|
98
|
+
|
99
|
+
o_client.add_cohort_registration(cocoCohort)
|
100
|
+
|
101
|
+
proxy_details = (
|
102
|
+
"org.odpi.openmetadata.adapters.repositoryservices.readonly.repositoryconnector."
|
103
|
+
+ "ReadOnlyOMRSRepositoryConnectorProvider"
|
104
|
+
)
|
105
|
+
o_client.set_repository_proxy_details(proxy_details)
|
106
|
+
|
107
|
+
p_client = Platform(mdr_server, platform_url, admin_user)
|
108
|
+
p_client.activate_server_stored_config()
|
109
|
+
|
110
|
+
print(f"\n\n\tConfiguration of {mdr_server} is complete.")
|
111
|
+
|
112
|
+
config = o_client.get_stored_configuration()
|
113
|
+
print(f"The server stored configuration is \n{json.dumps(config, indent=4)}")
|
114
|
+
|
115
|
+
except Exception as e:
|
116
|
+
print_exception_response(e)
|