pyegeria 5.4.7.5__tar.gz → 5.4.7.7__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.
Files changed (252) hide show
  1. {pyegeria-5.4.7.5/pyegeria.egg-info → pyegeria-5.4.7.7}/PKG-INFO +1 -1
  2. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_engine_activity.py +1 -1
  3. pyegeria-5.4.7.7/examples/Coco_config/README.md +19 -0
  4. pyegeria-5.4.7.7/examples/Coco_config/__init__.py +4 -0
  5. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDS1.py +108 -0
  6. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDS2.py +126 -0
  7. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDS3.py +109 -0
  8. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDS4.py +91 -0
  9. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDS5.py +116 -0
  10. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDS6.py +114 -0
  11. pyegeria-5.4.7.7/examples/Coco_config/config_cocoMDSx.py +119 -0
  12. pyegeria-5.4.7.7/examples/Coco_config/config_cocoView1.py +155 -0
  13. pyegeria-5.4.7.7/examples/Coco_config/config_coco_core.py +255 -0
  14. pyegeria-5.4.7.7/examples/Coco_config/config_coco_datalake.py +450 -0
  15. pyegeria-5.4.7.7/examples/Coco_config/config_exchangeDL01.py +106 -0
  16. pyegeria-5.4.7.7/examples/Coco_config/config_governDL01.py +80 -0
  17. pyegeria-5.4.7.7/examples/Coco_config/config_monitorDev01.py +60 -0
  18. pyegeria-5.4.7.7/examples/Coco_config/config_monitorGov01.py +194 -0
  19. pyegeria-5.4.7.7/examples/Coco_config/globals.py +154 -0
  20. pyegeria-5.4.7.7/examples/GeoSpatial Products Example.py +546 -0
  21. pyegeria-5.4.7.7/examples/Jupyter Notebooks/P-egeria-server-config.ipynb +2137 -0
  22. pyegeria-5.4.7.7/examples/Jupyter Notebooks/README.md +2 -0
  23. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/P-environment-check.ipynb +115 -0
  24. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/__init__.py +14 -0
  25. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/common-functions.ipynb +4694 -0
  26. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/environment-check.ipynb +53 -0
  27. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/globals.ipynb +184 -0
  28. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/globals.py +154 -0
  29. pyegeria-5.4.7.7/examples/Jupyter Notebooks/common/orig_globals.py +152 -0
  30. pyegeria-5.4.7.7/examples/format_sets/all_format_sets.json +910 -0
  31. pyegeria-5.4.7.7/examples/format_sets/custom_format_sets.json +268 -0
  32. pyegeria-5.4.7.7/examples/format_sets/subset_format_sets.json +187 -0
  33. pyegeria-5.4.7.7/examples/format_sets_save_load_example.py +294 -0
  34. pyegeria-5.4.7.7/examples/output_formats_example.py +193 -0
  35. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/ext_ref_commands.py +6 -3
  36. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/solution_architect_commands.py +1 -1
  37. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_client_new.py +1 -1
  38. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_output_formats.py +20 -0
  39. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/automated_curation.py +83 -219
  40. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/collection_manager.py +1 -1
  41. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/external_references.py +1 -1
  42. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/mermaid_utilities.py +1 -1
  43. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/output_formatter.py +3 -1
  44. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/solution_architect.py +6 -4
  45. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7/pyegeria.egg-info}/PKG-INFO +1 -1
  46. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria.egg-info/SOURCES.txt +32 -0
  47. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyproject.toml +1 -1
  48. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_automated_curation_omvs.py +13 -6
  49. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_external_references.py +10 -10
  50. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_solution_architect_omvs.py +13 -19
  51. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/LICENSE +0 -0
  52. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/MANIFEST.in +0 -0
  53. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/README.md +0 -0
  54. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/__init__.py +0 -0
  55. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/Dr-Egeria_md-orig.py +0 -0
  56. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/__init__.py +0 -0
  57. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/dr_egeria_command_help.py +0 -0
  58. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/dr_egeria_jupyter.py +0 -0
  59. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/dr_egeria_md.py +0 -0
  60. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/exp_list_glossaries.py +0 -0
  61. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/get_asset_graph.py +0 -0
  62. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/get_collection.py +0 -0
  63. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/get_project_dependencies.py +0 -0
  64. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/get_project_structure.py +0 -0
  65. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/get_tech_type_elements.py +0 -0
  66. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/glossary_actions.py +0 -0
  67. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_assets.py +0 -0
  68. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_cert_types.py +0 -0
  69. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_collections.py +0 -0
  70. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_data_designer.py +0 -0
  71. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_data_structures_full.py +0 -0
  72. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_deployed_catalogs.py +0 -0
  73. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_deployed_database_schemas.py +0 -0
  74. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_deployed_databases.py +0 -0
  75. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_deployed_servers.py +0 -0
  76. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_format_set.py +0 -0
  77. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_glossaries.py +0 -0
  78. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_projects.py +0 -0
  79. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_tech_type_elements.py +0 -0
  80. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_tech_types.py +0 -0
  81. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_terms.py +0 -0
  82. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_todos.py +0 -0
  83. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cat/list_user_ids.py +0 -0
  84. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/__init__.py +0 -0
  85. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/egeria.py +0 -0
  86. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/egeria_cat.py +0 -0
  87. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/egeria_login_tui.py +0 -0
  88. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/egeria_my.py +0 -0
  89. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/egeria_ops.py +0 -0
  90. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/egeria_tech.py +0 -0
  91. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/cli/ops_config.py +0 -0
  92. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/my/__init__.py +0 -0
  93. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/my/list_my_profile.py +0 -0
  94. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/my/list_my_roles.py +0 -0
  95. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/my/monitor_my_todos.py +0 -0
  96. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/my/monitor_open_todos.py +0 -0
  97. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/my/todo_actions.py +0 -0
  98. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/__init__.py +0 -0
  99. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/gov_server_actions.py +0 -0
  100. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/list_archives.py +0 -0
  101. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/list_catalog_targets.py +0 -0
  102. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/load_archive.py +0 -0
  103. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_asset_events.py +0 -0
  104. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_engine_activity_c.py +0 -0
  105. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_gov_eng_status.py +0 -0
  106. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_integ_daemon_status.py +0 -0
  107. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_platform_status.py +0 -0
  108. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_server_startup.py +0 -0
  109. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/monitor_server_status.py +0 -0
  110. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/orig_monitor_server_list.py +0 -0
  111. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/orig_monitor_server_status.py +0 -0
  112. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/refresh_integration_daemon.py +0 -0
  113. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/restart_integration_daemon.py +0 -0
  114. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/table_integ_daemon_status.py +0 -0
  115. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/ops/x_engine_actions.py +0 -0
  116. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/__init__.py +0 -0
  117. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/generic_actions.py +0 -0
  118. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/get_element_info.py +0 -0
  119. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/get_guid_info.py +0 -0
  120. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/get_tech_details.py +0 -0
  121. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/get_tech_type_template.py +0 -0
  122. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_all_om_type_elements.py +0 -0
  123. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_all_om_type_elements_x.py +0 -0
  124. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_all_related_elements.py +0 -0
  125. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_anchored_elements.py +0 -0
  126. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_asset_types.py +0 -0
  127. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
  128. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_elements_by_property_value.py +0 -0
  129. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_elements_by_property_value_x.py +0 -0
  130. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_elements_for_classification.py +0 -0
  131. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_gov_action_processes.py +0 -0
  132. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_information_supply_chains.py +0 -0
  133. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_registered_services.py +0 -0
  134. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_related_elements_with_prop_value.py +0 -0
  135. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_related_specification.py +0 -0
  136. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_relationship_types.py +0 -0
  137. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_relationships.py +0 -0
  138. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_solution_blueprints.py +0 -0
  139. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_solution_components.py +0 -0
  140. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_solution_roles.py +0 -0
  141. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_tech_templates.py +0 -0
  142. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/list_valid_metadata_values.py +0 -0
  143. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/table_tech_templates.py +0 -0
  144. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/commands/tech/x_list_related_elements.py +0 -0
  145. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/__init__.py +0 -0
  146. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/data/commands-working.json +0 -0
  147. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/data/commands.json +0 -0
  148. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/data/generated_format_sets.json +0 -0
  149. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/data/generated_format_sets.py +0 -0
  150. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/dr_egeria.py +0 -0
  151. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/__init__.py +0 -0
  152. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/data_designer_commands.py +0 -0
  153. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/glossary_commands.py +0 -0
  154. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/governance_officer_commands.py +0 -0
  155. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/product_manager_commands.py +0 -0
  156. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/project_commands.py +0 -0
  157. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_commands/view_commands.py +0 -0
  158. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/__init__.py +0 -0
  159. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/common_md_proc_utils.py +0 -0
  160. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/common_md_utils.py +0 -0
  161. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/determine_width.py +0 -0
  162. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/extraction_utils.py +0 -0
  163. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/gen_format_sets.py +0 -0
  164. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/generate_dr_help.py +0 -0
  165. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/generate_md_cmd_templates.py +0 -0
  166. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/generate_md_templates.py +0 -0
  167. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/md_processing_constants.py +0 -0
  168. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/md_processing/md_processing_utils/message_constants.py +0 -0
  169. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/__init__.py +0 -0
  170. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_client.py +0 -0
  171. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_deprecated_gov_engine.py +0 -0
  172. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_exceptions.py +0 -0
  173. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_exceptions_new.py +0 -0
  174. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_globals.py +0 -0
  175. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_output_format_models.py +0 -0
  176. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/_validators.py +0 -0
  177. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/asset_catalog_omvs.py +0 -0
  178. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/classification_manager.py +0 -0
  179. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/classification_manager_omvs.py +0 -0
  180. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/collection_models.py +0 -0
  181. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/config.py +0 -0
  182. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/core_omag_server_config.py +0 -0
  183. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/create_tech_guid_lists.py +0 -0
  184. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/data_designer.py +0 -0
  185. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/egeria_cat_client.py +0 -0
  186. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/egeria_client.py +0 -0
  187. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/egeria_config_client.py +0 -0
  188. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/egeria_my_client.py +0 -0
  189. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/egeria_tech_client.py +0 -0
  190. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/feedback_manager_omvs.py +0 -0
  191. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/format_set_executor.py +0 -0
  192. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/full_omag_server_config.py +0 -0
  193. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/glossary_manager.py +0 -0
  194. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/governance_officer.py +0 -0
  195. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/load_config.py +0 -0
  196. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/logging_configuration.py +0 -0
  197. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/mcp_adapter.py +0 -0
  198. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/mcp_server.py +0 -0
  199. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/md_processing_utils.py +0 -0
  200. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/md_processing_utils_orig.py +0 -0
  201. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/metadata_explorer_omvs.py +0 -0
  202. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/models.py +0 -0
  203. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/my_profile_omvs.py +0 -0
  204. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/platform_services.py +0 -0
  205. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/project_manager.py +0 -0
  206. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/reference_data.py +0 -0
  207. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/registered_info.py +0 -0
  208. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/runtime_manager_omvs.py +0 -0
  209. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/server_operations.py +0 -0
  210. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/template_manager_omvs.py +0 -0
  211. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/utils.py +0 -0
  212. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/valid_metadata_omvs.py +0 -0
  213. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria/x_action_author_omvs.py +0 -0
  214. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria.egg-info/dependency_links.txt +0 -0
  215. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria.egg-info/entry_points.txt +0 -0
  216. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria.egg-info/requires.txt +0 -0
  217. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/pyegeria.egg-info/top_level.txt +0 -0
  218. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/setup.cfg +0 -0
  219. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_asset_catalog_omvs.py +0 -0
  220. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_classification_manager_omvs.py +0 -0
  221. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_client.py +0 -0
  222. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_collection_manager_omvs.py +0 -0
  223. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_config.py +0 -0
  224. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_config_unit.py +0 -0
  225. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_core_omag_server_config.py +0 -0
  226. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_data_designer.py +0 -0
  227. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_dr_egeria_command_help_modes.py +0 -0
  228. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_egeria_cat_client.py +0 -0
  229. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_egeria_client.py +0 -0
  230. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_egeria_my_client.py +0 -0
  231. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_env_settings.py +0 -0
  232. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_feedback_manager_omvs.py +0 -0
  233. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_format_set_dict.py +0 -0
  234. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_full_omag_server_config.py +0 -0
  235. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_glossary_manager_omvs.py +0 -0
  236. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_governance_officer_omvs.py +0 -0
  237. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_load_config.py +0 -0
  238. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_mcp_adapter.py +0 -0
  239. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_metadata_explorer_omvs.py +0 -0
  240. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_my_profile_omvs.py +0 -0
  241. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_output_format_models_unit.py +0 -0
  242. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_output_format_sets_unit.py +0 -0
  243. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_output_formats.py +0 -0
  244. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_platform_services.py +0 -0
  245. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_project_manager_omvs.py +0 -0
  246. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_reference_data.py +0 -0
  247. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_registered_info.py +0 -0
  248. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_root_path.py +0 -0
  249. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_runtime_manager.py +0 -0
  250. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_server_operations.py +0 -0
  251. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_utils.py +0 -0
  252. {pyegeria-5.4.7.5 → pyegeria-5.4.7.7}/tests/test_valid_metadata_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyegeria
3
- Version: 5.4.7.5
3
+ Version: 5.4.7.7
4
4
  Summary: A python client for Egeria
5
5
  Author-email: Dan Wolfson <dan.wolfson@pdr-associates.com>
6
6
  License-Expression: Apache-2.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.get_engine_actions()
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,4 @@
1
+ """
2
+
3
+ Coco Pharmaceuticals Configurations
4
+ """
@@ -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)