pyegeria 0.3.6__tar.gz → 0.3.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 (99) hide show
  1. {pyegeria-0.3.6/src/pyegeria.egg-info → pyegeria-0.3.7}/PKG-INFO +1 -1
  2. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/P-egeria-server-config.ipynb +78 -189
  3. {pyegeria-0.3.6 → pyegeria-0.3.7}/pyproject.toml +1 -1
  4. {pyegeria-0.3.6 → pyegeria-0.3.7}/setup.py +7 -0
  5. {pyegeria-0.3.6 → pyegeria-0.3.7/src/pyegeria.egg-info}/PKG-INFO +1 -1
  6. {pyegeria-0.3.6 → pyegeria-0.3.7}/LICENSE +0 -0
  7. {pyegeria-0.3.6 → pyegeria-0.3.7}/MANIFEST.in +0 -0
  8. {pyegeria-0.3.6 → pyegeria-0.3.7}/README.md +0 -0
  9. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/.DS_Store +0 -0
  10. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/README.md +0 -0
  11. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/__init__.py +0 -0
  12. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDS1.py +0 -0
  13. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDS2.py +0 -0
  14. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDS3.py +0 -0
  15. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDS4.py +0 -0
  16. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDS5.py +0 -0
  17. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDS6.py +0 -0
  18. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoMDSx.py +0 -0
  19. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_cocoView1.py +0 -0
  20. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_exchangeDL01.py +0 -0
  21. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_governDL01.py +0 -0
  22. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_monitorDev01.py +0 -0
  23. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/config_monitorGov01.py +0 -0
  24. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Coco_config/globals.py +0 -0
  25. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Doc_Samples/Create_Collection_Sample.py +0 -0
  26. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Doc_Samples/Create_Sustainability_Collection_Sample.py +0 -0
  27. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/README.md +0 -0
  28. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/P-environment-check.ipynb +0 -0
  29. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/__init__.py +0 -0
  30. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/common-functions.ipynb +0 -0
  31. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/environment-check.ipynb +0 -0
  32. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/globals.ipynb +0 -0
  33. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/globals.py +0 -0
  34. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/Jupyter Notebooks/common/orig_globals.py +0 -0
  35. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/__init__.py +0 -0
  36. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/__pycache__/__init__.cpython-312.pyc +0 -0
  37. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/.DS_Store +0 -0
  38. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/README.md +0 -0
  39. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/__init__.py +0 -0
  40. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/__pycache__/__init__.cpython-312.pyc +0 -0
  41. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
  42. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/coco_status.py +0 -0
  43. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/collection_viewer.py +0 -0
  44. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/engine_action_status.py +0 -0
  45. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/find_todos.py +0 -0
  46. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/get_relationship_types.py +0 -0
  47. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/get_tech_details.py +0 -0
  48. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/get_tech_types.py +0 -0
  49. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/get_valid_metadata_values.py +0 -0
  50. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/glossary_view.py +0 -0
  51. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/gov_engine_status.py +0 -0
  52. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/integration_daemon_status.py +0 -0
  53. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/list_asset_types.py +0 -0
  54. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/multi-server_status.py +0 -0
  55. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/my_todos.py +0 -0
  56. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/open_todos.py +0 -0
  57. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/project_list_viewer.py +0 -0
  58. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/server_status.py +0 -0
  59. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/server_status_widget.py +0 -0
  60. {pyegeria-0.3.6 → pyegeria-0.3.7}/examples/widgets/view_my_profile.py +0 -0
  61. {pyegeria-0.3.6 → pyegeria-0.3.7}/setup.cfg +0 -0
  62. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/__init__.py +0 -0
  63. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/_client.py +0 -0
  64. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/_exceptions.py +0 -0
  65. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/_globals.py +0 -0
  66. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/_validators.py +0 -0
  67. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/automated_curation_omvs.py +0 -0
  68. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/collection_manager_omvs.py +0 -0
  69. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/core_omag_server_config.py +0 -0
  70. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/full_omag_server_config.py +0 -0
  71. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/glossary_omvs.py +0 -0
  72. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/gov_engine.py +0 -0
  73. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/governance_author.py +0 -0
  74. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/my_profile_omvs.py +0 -0
  75. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/platform_services.py +0 -0
  76. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/project_manager_omvs.py +0 -0
  77. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/registered_info.py +0 -0
  78. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/server_operations.py +0 -0
  79. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/utils.py +0 -0
  80. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria/valid_metadata_omvs.py +0 -0
  81. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria.egg-info/SOURCES.txt +0 -0
  82. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria.egg-info/dependency_links.txt +0 -0
  83. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria.egg-info/requires.txt +0 -0
  84. {pyegeria-0.3.6 → pyegeria-0.3.7}/src/pyegeria.egg-info/top_level.txt +0 -0
  85. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_automated_curation_omvs.py +0 -0
  86. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_client.py +0 -0
  87. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_collection_manager_omvs.py +0 -0
  88. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_core_omag_server_config.py +0 -0
  89. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_full_omag_server_config.py +0 -0
  90. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_glossary_omvs.py +0 -0
  91. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_gov_engine.py +0 -0
  92. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_my_profile_omvs.py +0 -0
  93. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_platform_services.py +0 -0
  94. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_project_manager_omvs.py +0 -0
  95. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_registered_info.py +0 -0
  96. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_server_operations.py +0 -0
  97. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_util_exp.py +0 -0
  98. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_valid_metadata_omvs.py +0 -0
  99. {pyegeria-0.3.6 → pyegeria-0.3.7}/tests/test_validators.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://egeria-project.org/egeria-python
6
6
  Author: Dan Wolfson
@@ -49,7 +49,6 @@
49
49
  "start_time": "2024-03-20T15:26:01.361272Z"
50
50
  }
51
51
  },
52
- "outputs": [],
53
52
  "source": [
54
53
  "import json\n",
55
54
  "import nest_asyncio\n",
@@ -58,7 +57,8 @@
58
57
  "from pyegeria import Platform, RegisteredInfo, CoreServerConfig, FullServerConfig, print_exception_response\n",
59
58
  "\n",
60
59
  "\n"
61
- ]
60
+ ],
61
+ "outputs": []
62
62
  },
63
63
  {
64
64
  "cell_type": "markdown",
@@ -76,10 +76,10 @@
76
76
  "start_time": "2024-03-20T15:26:03.628598Z"
77
77
  }
78
78
  },
79
- "outputs": [],
80
79
  "source": [
81
80
  "organizationName = \"Coco Pharmaceuticals\""
82
- ]
81
+ ],
82
+ "outputs": []
83
83
  },
84
84
  {
85
85
  "cell_type": "markdown",
@@ -158,10 +158,10 @@
158
158
  "outputs_hidden": false
159
159
  }
160
160
  },
161
- "outputs": [],
162
161
  "source": [
163
162
  "%run common/globals.ipynb"
164
- ]
163
+ ],
164
+ "outputs": []
165
165
  },
166
166
  {
167
167
  "cell_type": "code",
@@ -176,10 +176,10 @@
176
176
  "outputs_hidden": false
177
177
  }
178
178
  },
179
- "outputs": [],
180
179
  "source": [
181
180
  "%run common/common-functions.ipynb"
182
- ]
181
+ ],
182
+ "outputs": []
183
183
  },
184
184
  {
185
185
  "cell_type": "code",
@@ -191,84 +191,10 @@
191
191
  },
192
192
  "tags": []
193
193
  },
194
- "outputs": [
195
- {
196
- "name": "stdout",
197
- "output_type": "stream",
198
- "text": [
199
- "Requirement already satisfied: nest_asyncio in /Users/dwolfson/localGit/pdr/pyegeria/venv/lib/python3.12/site-packages (1.6.0)\r\n",
200
- "\n",
201
- "Checking OMAG Server Platform availability...\n",
202
- "\n",
203
- "\n",
204
- "\t Platform Core Platform is active and running: \n",
205
- "\t\tEgeria OMAG Server Platform (version 4.4-SNAPSHOT)\n",
206
- "\n",
207
- "\tWill start the following servers if configured: ['cocoMDS2', 'cocoMDS3', 'cocoMDS5', 'cocoMDS6']\n",
208
- "\n",
209
- "\tChecking OMAG Server cocoMDS2\n",
210
- " OMAG Server cocoMDS2 is configured\n",
211
- " OMAG Server cocoMDS2 is being activated\n",
212
- "\t Started server: cocoMDS2\n",
213
- "\n",
214
- "\tChecking OMAG Server cocoMDS3\n",
215
- " OMAG Server cocoMDS3 is configured\n",
216
- " OMAG Server cocoMDS3 is being activated\n",
217
- "\t Started server: cocoMDS3\n",
218
- "\n",
219
- "\tChecking OMAG Server cocoMDS5\n",
220
- " OMAG Server cocoMDS5 is configured\n",
221
- " OMAG Server cocoMDS5 is being activated\n",
222
- "\t Started server: cocoMDS5\n",
223
- "\n",
224
- "\tChecking OMAG Server cocoMDS6\n",
225
- " OMAG Server cocoMDS6 is configured\n",
226
- " OMAG Server cocoMDS6 is being activated\n",
227
- "\t Started server: cocoMDS6\n",
228
- "\n",
229
- "\n",
230
- "\t Platform Data Lake Platform is active and running: \n",
231
- "\t\tEgeria OMAG Server Platform (version 4.4-SNAPSHOT)\n",
232
- "\n",
233
- "\tWill start the following servers if configured: ['cocoMDS1', 'cocoMDS4', 'cocoView1', 'cocoOLS1']\n",
234
- "\n",
235
- "\tChecking OMAG Server cocoMDS1\n",
236
- " OMAG Server cocoMDS1 is configured\n",
237
- " OMAG Server cocoMDS1 is being activated\n",
238
- "\t Started server: cocoMDS1\n",
239
- "\n",
240
- "\tChecking OMAG Server cocoMDS4\n",
241
- " OMAG Server cocoMDS4 is configured\n",
242
- " OMAG Server cocoMDS4 is being activated\n",
243
- "\t Started server: cocoMDS4\n",
244
- "\n",
245
- "\tChecking OMAG Server cocoView1\n",
246
- " OMAG Server cocoView1 is configured\n",
247
- " OMAG Server cocoView1 is being activated\n",
248
- "\t Started server: cocoView1\n",
249
- "\n",
250
- "\tChecking OMAG Server cocoOLS1\n",
251
- " OMAG Server cocoOLS1 is configured\n",
252
- " OMAG Server cocoOLS1 is being activated\n",
253
- "\t Started server: cocoOLS1\n",
254
- "\n",
255
- "\n",
256
- "\t Platform Dev Platform is active and running: \n",
257
- "\t\tEgeria OMAG Server Platform (version 4.4-SNAPSHOT)\n",
258
- "\n",
259
- "\tWill start the following servers if configured: ['cocoMDSx']\n",
260
- "\n",
261
- "\tChecking OMAG Server cocoMDSx\n",
262
- " OMAG Server cocoMDSx is configured\n",
263
- " OMAG Server cocoMDSx is being activated\n",
264
- "\t Started server: cocoMDSx\n",
265
- "Done.\n"
266
- ]
267
- }
268
- ],
269
194
  "source": [
270
195
  "%run common/P-environment-check.ipynb"
271
- ]
196
+ ],
197
+ "outputs": []
272
198
  },
273
199
  {
274
200
  "cell_type": "markdown",
@@ -333,49 +259,12 @@
333
259
  "outputs_hidden": false
334
260
  }
335
261
  },
336
- "outputs": [
337
- {
338
- "data": {
339
- "application/vnd.jupyter.widget-view+json": {
340
- "model_id": "68b68aae24c34494a20005917e8580ad",
341
- "version_major": 2,
342
- "version_minor": 0
343
- },
344
- "text/plain": [
345
- "Output()"
346
- ]
347
- },
348
- "metadata": {},
349
- "output_type": "display_data"
350
- },
351
- {
352
- "data": {
353
- "text/html": [
354
- "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"></pre>\n"
355
- ],
356
- "text/plain": []
357
- },
358
- "metadata": {},
359
- "output_type": "display_data"
360
- },
361
- {
362
- "ename": "KeyboardInterrupt",
363
- "evalue": "",
364
- "output_type": "error",
365
- "traceback": [
366
- "\u001B[0;31m---------------------------------------------------------------------------\u001B[0m",
367
- "\u001B[0;31mKeyboardInterrupt\u001B[0m Traceback (most recent call last)",
368
- "File \u001B[0;32m~/localGit/pdr/pyegeria/examples/widgets/server_status.py:105\u001B[0m\n\u001B[1;32m 102\u001B[0m url \u001B[38;5;241m=\u001B[39m args\u001B[38;5;241m.\u001B[39murl \u001B[38;5;28;01mif\u001B[39;00m args\u001B[38;5;241m.\u001B[39murl \u001B[38;5;129;01mis\u001B[39;00m \u001B[38;5;129;01mnot\u001B[39;00m \u001B[38;5;28;01mNone\u001B[39;00m \u001B[38;5;28;01melse\u001B[39;00m \u001B[38;5;124m\"\u001B[39m\u001B[38;5;124mhttps://localhost:9443\u001B[39m\u001B[38;5;124m\"\u001B[39m\n\u001B[1;32m 103\u001B[0m userid \u001B[38;5;241m=\u001B[39m args\u001B[38;5;241m.\u001B[39muserid \u001B[38;5;28;01mif\u001B[39;00m args\u001B[38;5;241m.\u001B[39muserid \u001B[38;5;129;01mis\u001B[39;00m \u001B[38;5;129;01mnot\u001B[39;00m \u001B[38;5;28;01mNone\u001B[39;00m \u001B[38;5;28;01melse\u001B[39;00m \u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgarygeeke\u001B[39m\u001B[38;5;124m'\u001B[39m\n\u001B[0;32m--> 105\u001B[0m \u001B[43mtest_display_status\u001B[49m\u001B[43m(\u001B[49m\u001B[43mserver\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43murl\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43muserid\u001B[49m\u001B[43m)\u001B[49m\n",
369
- "File \u001B[0;32m~/localGit/pdr/pyegeria/examples/widgets/server_status.py:82\u001B[0m, in \u001B[0;36mtest_display_status\u001B[0;34m(server, url, username)\u001B[0m\n\u001B[1;32m 80\u001B[0m \u001B[38;5;28;01mwith\u001B[39;00m Live(generate_table(), refresh_per_second\u001B[38;5;241m=\u001B[39m\u001B[38;5;241m4\u001B[39m, screen\u001B[38;5;241m=\u001B[39m\u001B[38;5;28;01mTrue\u001B[39;00m) \u001B[38;5;28;01mas\u001B[39;00m live:\n\u001B[1;32m 81\u001B[0m \u001B[38;5;28;01mwhile\u001B[39;00m \u001B[38;5;28;01mTrue\u001B[39;00m:\n\u001B[0;32m---> 82\u001B[0m \u001B[43mtime\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43msleep\u001B[49m\u001B[43m(\u001B[49m\u001B[38;5;241;43m2\u001B[39;49m\u001B[43m)\u001B[49m\n\u001B[1;32m 83\u001B[0m live\u001B[38;5;241m.\u001B[39mupdate(generate_table())\n\u001B[1;32m 84\u001B[0m \u001B[38;5;66;03m# services = p_client.get_server_status(server)['serverStatus']['services']\u001B[39;00m\n\u001B[1;32m 85\u001B[0m \u001B[38;5;66;03m# for service in services:\u001B[39;00m\n\u001B[1;32m 86\u001B[0m \u001B[38;5;66;03m# service_name = service['serviceName']\u001B[39;00m\n\u001B[1;32m 87\u001B[0m \u001B[38;5;66;03m# service_status = service['serviceStatus']\u001B[39;00m\n",
370
- "\u001B[0;31mKeyboardInterrupt\u001B[0m: "
371
- ]
372
- }
373
- ],
374
262
  "source": [
375
263
  "import nest_asyncio \n",
376
264
  "nest_asyncio.apply()\n",
377
265
  "%run ../widgets/server_status.py\n"
378
- ]
266
+ ],
267
+ "outputs": []
379
268
  },
380
269
  {
381
270
  "cell_type": "code",
@@ -383,12 +272,12 @@
383
272
  "metadata": {
384
273
  "tags": []
385
274
  },
386
- "outputs": [],
387
275
  "source": [
388
276
  "cocoCohort = \"cocoCohort\"\n",
389
277
  "devCohort = \"devCohort\"\n",
390
278
  "iotCohort = \"iotCohort\""
391
- ]
279
+ ],
280
+ "outputs": []
392
281
  },
393
282
  {
394
283
  "cell_type": "markdown",
@@ -404,7 +293,6 @@
404
293
  "cell_type": "code",
405
294
  "execution_count": null,
406
295
  "metadata": {},
407
- "outputs": [],
408
296
  "source": [
409
297
  "eventBusURLroot = os.environ.get('eventBusURLroot', '192.168.0.34:9092')\n",
410
298
  "\n",
@@ -416,7 +304,8 @@
416
304
  " \"bootstrap.servers\": eventBusURLroot\n",
417
305
  " }\n",
418
306
  "}"
419
- ]
307
+ ],
308
+ "outputs": []
420
309
  },
421
310
  {
422
311
  "cell_type": "markdown",
@@ -431,11 +320,11 @@
431
320
  "cell_type": "code",
432
321
  "execution_count": null,
433
322
  "metadata": {},
434
- "outputs": [],
435
323
  "source": [
436
324
  "registered_info_client = RegisteredInfo(cocoMDS1PlatformURL, user_id= adminUserId)\n",
437
325
  "registered_info_client.list_registered_svcs('access-services', fmt='table', skinny=True)\n"
438
- ]
326
+ ],
327
+ "outputs": []
439
328
  },
440
329
  {
441
330
  "cell_type": "raw",
@@ -506,10 +395,10 @@
506
395
  "metadata": {
507
396
  "tags": []
508
397
  },
509
- "outputs": [],
510
398
  "source": [
511
399
  "adminPlatformURL = devPlatformURL"
512
- ]
400
+ ],
401
+ "outputs": []
513
402
  },
514
403
  {
515
404
  "cell_type": "markdown",
@@ -522,10 +411,10 @@
522
411
  "cell_type": "code",
523
412
  "execution_count": null,
524
413
  "metadata": {},
525
- "outputs": [],
526
414
  "source": [
527
415
  "adminCommandURLRoot = adminPlatformURL + '/open-metadata/admin-services/users/' + adminUserId + '/servers/'"
528
- ]
416
+ ],
417
+ "outputs": []
529
418
  },
530
419
  {
531
420
  "cell_type": "markdown",
@@ -552,7 +441,6 @@
552
441
  "cell_type": "code",
553
442
  "execution_count": null,
554
443
  "metadata": {},
555
- "outputs": [],
556
444
  "source": [
557
445
  "security_connection_body = {\n",
558
446
  " \"class\": \"Connection\",\n",
@@ -561,7 +449,8 @@
561
449
  " \"connectorProviderClassName\": \"org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider\"\n",
562
450
  " }\n",
563
451
  "}"
564
- ]
452
+ ],
453
+ "outputs": []
565
454
  },
566
455
  {
567
456
  "cell_type": "markdown",
@@ -574,10 +463,10 @@
574
463
  "cell_type": "code",
575
464
  "execution_count": null,
576
465
  "metadata": {},
577
- "outputs": [],
578
466
  "source": [
579
467
  "max_page_size = '600'"
580
- ]
468
+ ],
469
+ "outputs": []
581
470
  },
582
471
  {
583
472
  "cell_type": "markdown",
@@ -597,7 +486,6 @@
597
486
  "outputs_hidden": false
598
487
  }
599
488
  },
600
- "outputs": [],
601
489
  "source": [
602
490
  "mdr_server_name = \"cocoMDS1\"\n",
603
491
  "mdr_user_id = \"cocoMDS1npa\"\n",
@@ -615,7 +503,8 @@
615
503
  " mdr_platform_url,\n",
616
504
  " mdr_user_id, mdr_server_password,\n",
617
505
  " max_page_size)"
618
- ]
506
+ ],
507
+ "outputs": []
619
508
  },
620
509
  {
621
510
  "cell_type": "code",
@@ -626,13 +515,13 @@
626
515
  "outputs_hidden": false
627
516
  }
628
517
  },
629
- "outputs": [],
630
518
  "source": [
631
519
  "# omag_client.set_in_mem_local_repository()\n",
632
520
  "# omag_client.set_xtdb_in_mem_repository()\n",
633
521
  "# omag_client.set_graph_local_repository()\n",
634
522
  "omag_client.set_xtdb_local_kv_repository()"
635
- ]
523
+ ],
524
+ "outputs": []
636
525
  },
637
526
  {
638
527
  "cell_type": "code",
@@ -643,14 +532,14 @@
643
532
  "outputs_hidden": false
644
533
  }
645
534
  },
646
- "outputs": [],
647
535
  "source": [
648
536
  "omag_client.add_default_log_destinations()\n",
649
537
  "omag_client.set_server_security_connection(security_connection_body)\n",
650
538
  "omag_client.set_local_metadata_collection_name(metadata_collection_name)\n",
651
539
  "omag_client.set_local_metadata_collection_id(metadata_collection_id)\n",
652
540
  "omag_client.add_cohort_registration(cocoCohort)"
653
- ]
541
+ ],
542
+ "outputs": []
654
543
  },
655
544
  {
656
545
  "cell_type": "code",
@@ -661,7 +550,6 @@
661
550
  "outputs_hidden": false
662
551
  }
663
552
  },
664
- "outputs": [],
665
553
  "source": [
666
554
  "print(f\"Configuring {mdr_server_name} Access Services (OMAS)....\")\n",
667
555
  "\n",
@@ -689,13 +577,13 @@
689
577
  "omag_client.configure_access_service(\"digital-architecture\", access_service_options)\n",
690
578
  "omag_client.configure_access_service(\"governance-engine\", access_service_options)\n",
691
579
  "omag_client.configure_access_service(\"asset-lineage\", access_service_options)"
692
- ]
580
+ ],
581
+ "outputs": []
693
582
  },
694
583
  {
695
584
  "cell_type": "code",
696
585
  "execution_count": null,
697
586
  "metadata": {},
698
- "outputs": [],
699
587
  "source": [
700
588
  "config = omag_client.get_stored_configuration()\n",
701
589
  "print(f\"The server stored configuration is {json.dumps(config, indent=4)}\")\n",
@@ -704,7 +592,8 @@
704
592
  "p_client.activate_server_stored_config()\n",
705
593
  "\n",
706
594
  "print(\"\\nDone.\")"
707
- ]
595
+ ],
596
+ "outputs": []
708
597
  },
709
598
  {
710
599
  "cell_type": "code",
@@ -715,8 +604,8 @@
715
604
  "outputs_hidden": false
716
605
  }
717
606
  },
718
- "outputs": [],
719
- "source": []
607
+ "source": [],
608
+ "outputs": []
720
609
  },
721
610
  {
722
611
  "cell_type": "markdown",
@@ -735,7 +624,6 @@
735
624
  "cell_type": "code",
736
625
  "execution_count": null,
737
626
  "metadata": {},
738
- "outputs": [],
739
627
  "source": [
740
628
  "mdrServerName = \"cocoMDS2\"\n",
741
629
  "mdr_user_id = \"cocoMDS2npa\"\n",
@@ -778,7 +666,8 @@
778
666
  "configureAccessService(adminPlatformURL, adminUserId, mdrServerName, 'project-management', {})\n",
779
667
  "\n",
780
668
  "print(\"\\nDone.\")"
781
- ]
669
+ ],
670
+ "outputs": []
782
671
  },
783
672
  {
784
673
  "cell_type": "markdown",
@@ -804,7 +693,6 @@
804
693
  "cell_type": "code",
805
694
  "execution_count": null,
806
695
  "metadata": {},
807
- "outputs": [],
808
696
  "source": [
809
697
  "mdrServerName = \"cocoMDS3\"\n",
810
698
  "mdr_user_id = \"cocoMDS3npa\"\n",
@@ -846,7 +734,8 @@
846
734
  "configureAccessService(adminPlatformURL, adminUserId, mdrServerName, 'project-management', accessServiceOptions)\n",
847
735
  "\n",
848
736
  "print(\"\\nDone.\")"
849
- ]
737
+ ],
738
+ "outputs": []
850
739
  },
851
740
  {
852
741
  "cell_type": "markdown",
@@ -863,7 +752,6 @@
863
752
  "cell_type": "code",
864
753
  "execution_count": null,
865
754
  "metadata": {},
866
- "outputs": [],
867
755
  "source": [
868
756
  "mdrServerName = \"cocoMDS4\"\n",
869
757
  "mdr_user_id = \"cocoMDS4npa\"\n",
@@ -896,7 +784,8 @@
896
784
  "configureAccessService(adminPlatformURL, adminUserId, mdrServerName, 'data-science', accessServiceOptions)\n",
897
785
  "\n",
898
786
  "print(\"\\nDone.\")"
899
- ]
787
+ ],
788
+ "outputs": []
900
789
  },
901
790
  {
902
791
  "cell_type": "markdown",
@@ -915,7 +804,6 @@
915
804
  "cell_type": "code",
916
805
  "execution_count": null,
917
806
  "metadata": {},
918
- "outputs": [],
919
807
  "source": [
920
808
  "mdrServerName = \"cocoMDS5\"\n",
921
809
  "mdr_user_id = \"cocoMDS5npa\"\n",
@@ -940,7 +828,8 @@
940
828
  "# Still need to add startup Archive \n",
941
829
  "\n",
942
830
  "print(\"\\nDone.\")"
943
- ]
831
+ ],
832
+ "outputs": []
944
833
  },
945
834
  {
946
835
  "cell_type": "markdown",
@@ -957,7 +846,6 @@
957
846
  "cell_type": "code",
958
847
  "execution_count": null,
959
848
  "metadata": {},
960
- "outputs": [],
961
849
  "source": [
962
850
  "mdrServerName = \"cocoMDS6\"\n",
963
851
  "mdr_user_id = \"cocoMDS6npa\"\n",
@@ -1003,7 +891,8 @@
1003
891
  "configureAccessService(adminPlatformURL, adminUserId, mdrServerName, 'project-management', accessServiceOptions)\n",
1004
892
  "\n",
1005
893
  "print(\"\\nDone.\")"
1006
- ]
894
+ ],
895
+ "outputs": []
1007
896
  },
1008
897
  {
1009
898
  "cell_type": "markdown",
@@ -1020,7 +909,6 @@
1020
909
  "cell_type": "code",
1021
910
  "execution_count": null,
1022
911
  "metadata": {},
1023
- "outputs": [],
1024
912
  "source": [
1025
913
  "mdrServerName = \"cocoMDSx\"\n",
1026
914
  "mdr_user_id = \"cocoMDSxnpa\"\n",
@@ -1067,7 +955,8 @@
1067
955
  "configureAccessService(adminPlatformURL, adminUserId, mdrServerName, 'design-model', accessServiceOptions)\n",
1068
956
  "\n",
1069
957
  "print(\"\\nDone.\")"
1070
- ]
958
+ ],
959
+ "outputs": []
1071
960
  },
1072
961
  {
1073
962
  "cell_type": "markdown",
@@ -1095,11 +984,11 @@
1095
984
  "cell_type": "code",
1096
985
  "execution_count": null,
1097
986
  "metadata": {},
1098
- "outputs": [],
1099
987
  "source": [
1100
988
  "\n",
1101
989
  "getIntegrationServices(exchangeDL01PlatformName, exchangeDL01PlatformURL)\n"
1102
- ]
990
+ ],
991
+ "outputs": []
1103
992
  },
1104
993
  {
1105
994
  "cell_type": "markdown",
@@ -1137,7 +1026,6 @@
1137
1026
  "cell_type": "code",
1138
1027
  "execution_count": null,
1139
1028
  "metadata": {},
1140
- "outputs": [],
1141
1029
  "source": [
1142
1030
  "daemonServerName = \"exchangeDL01\"\n",
1143
1031
  "daemonServerPlatform = dataLakePlatformURL\n",
@@ -1194,7 +1082,8 @@
1194
1082
  "configureIntegrationGroup(adminPlatformURL, adminUserId, daemonServerName, mdrServerName, mdr_platform_url, integrationGroupName)\n",
1195
1083
  "\n",
1196
1084
  "print (\"\\nDone.\")"
1197
- ]
1085
+ ],
1086
+ "outputs": []
1198
1087
  },
1199
1088
  {
1200
1089
  "cell_type": "markdown",
@@ -1210,7 +1099,6 @@
1210
1099
  "cell_type": "code",
1211
1100
  "execution_count": null,
1212
1101
  "metadata": {},
1213
- "outputs": [],
1214
1102
  "source": [
1215
1103
  "daemonServerName = \"monitorDev01\"\n",
1216
1104
  "daemonServerPlatform = devPlatformURL\n",
@@ -1232,7 +1120,8 @@
1232
1120
  "configureDefaultAuditLog(adminPlatformURL, adminUserId, daemonServerName)\n",
1233
1121
  "\n",
1234
1122
  "print (\"\\nDone.\")"
1235
- ]
1123
+ ],
1124
+ "outputs": []
1236
1125
  },
1237
1126
  {
1238
1127
  "cell_type": "markdown",
@@ -1248,7 +1137,6 @@
1248
1137
  "cell_type": "code",
1249
1138
  "execution_count": null,
1250
1139
  "metadata": {},
1251
- "outputs": [],
1252
1140
  "source": [
1253
1141
  "daemonServerName = \"monitorGov01\"\n",
1254
1142
  "daemonServerPlatform = dataLakePlatformURL\n",
@@ -1424,7 +1312,8 @@
1424
1312
  "configureIntegrationService(adminPlatformURL, adminUserId, daemonServerName, mdrServerName, mdr_platform_url, \"lineage-integrator\", {}, connectorConfigs)\n",
1425
1313
  "\n",
1426
1314
  "print (\"\\nDone.\")"
1427
- ]
1315
+ ],
1316
+ "outputs": []
1428
1317
  },
1429
1318
  {
1430
1319
  "cell_type": "markdown",
@@ -1466,11 +1355,11 @@
1466
1355
  "cell_type": "code",
1467
1356
  "execution_count": null,
1468
1357
  "metadata": {},
1469
- "outputs": [],
1470
1358
  "source": [
1471
1359
  "\n",
1472
1360
  "getEngineServices(governDL01PlatformName, governDL01PlatformURL)\n"
1473
- ]
1361
+ ],
1362
+ "outputs": []
1474
1363
  },
1475
1364
  {
1476
1365
  "cell_type": "markdown",
@@ -1508,7 +1397,6 @@
1508
1397
  "cell_type": "code",
1509
1398
  "execution_count": null,
1510
1399
  "metadata": {},
1511
- "outputs": [],
1512
1400
  "source": [
1513
1401
  "engineServerName = \"governDL01\"\n",
1514
1402
  "engineServerPlatform = dataLakePlatformURL\n",
@@ -1559,7 +1447,8 @@
1559
1447
  "configureGovernanceEngineService(adminPlatformURL, adminUserId, engineServerName, mdrServerName, mdr_platform_url, \"governance-action\", governanceActionEngines)\n",
1560
1448
  "\n",
1561
1449
  "print (\"\\nDone.\")"
1562
- ]
1450
+ ],
1451
+ "outputs": []
1563
1452
  },
1564
1453
  {
1565
1454
  "cell_type": "markdown",
@@ -1604,7 +1493,6 @@
1604
1493
  "cell_type": "code",
1605
1494
  "execution_count": null,
1606
1495
  "metadata": {},
1607
- "outputs": [],
1608
1496
  "source": [
1609
1497
  "lineageServerName = \"cocoOLS1\"\n",
1610
1498
  "lineageServerPlatform = dataLakePlatformURL\n",
@@ -1613,13 +1501,13 @@
1613
1501
  "mdr_user_id = \"cocoMDS1npa\"\n",
1614
1502
  "mdr_server_password = \"secret\"\n",
1615
1503
  "mdr_platform_url = dataLakePlatformURL\n"
1616
- ]
1504
+ ],
1505
+ "outputs": []
1617
1506
  },
1618
1507
  {
1619
1508
  "cell_type": "code",
1620
1509
  "execution_count": null,
1621
1510
  "metadata": {},
1622
- "outputs": [],
1623
1511
  "source": [
1624
1512
  "# OLS Server configuration common function\n",
1625
1513
  "#\n",
@@ -1678,7 +1566,8 @@
1678
1566
  " print(requestBody)\n",
1679
1567
  " url = adminCommandURLRoot + lineageServerName + '/open-lineage/configuration'\n",
1680
1568
  " postAndPrintResult(url, json=requestBody, headers=jsonContentHeader)"
1681
- ]
1569
+ ],
1570
+ "outputs": []
1682
1571
  },
1683
1572
  {
1684
1573
  "cell_type": "markdown",
@@ -1693,7 +1582,6 @@
1693
1582
  "cell_type": "code",
1694
1583
  "execution_count": null,
1695
1584
  "metadata": {},
1696
- "outputs": [],
1697
1585
  "source": [
1698
1586
  "print(\"Configuring \" + lineageServerName + \" Open Lineage Services (OLS) ...\")\n",
1699
1587
  "\n",
@@ -1702,7 +1590,8 @@
1702
1590
  "configureOpenLineageService(adminPlatformURL, adminUserId, lineageServerName, mdr_platform_url, mdrServerName, mdr_user_id, mdr_server_password)\n",
1703
1591
  "\n",
1704
1592
  "print (\"\\nDone.\")"
1705
- ]
1593
+ ],
1594
+ "outputs": []
1706
1595
  },
1707
1596
  {
1708
1597
  "cell_type": "markdown",
@@ -1731,10 +1620,10 @@
1731
1620
  "cell_type": "code",
1732
1621
  "execution_count": null,
1733
1622
  "metadata": {},
1734
- "outputs": [],
1735
1623
  "source": [
1736
1624
  "getViewServices(cocoView1PlatformName, cocoView1PlatformURL)"
1737
- ]
1625
+ ],
1626
+ "outputs": []
1738
1627
  },
1739
1628
  {
1740
1629
  "cell_type": "markdown",
@@ -1756,7 +1645,6 @@
1756
1645
  "cell_type": "code",
1757
1646
  "execution_count": null,
1758
1647
  "metadata": {},
1759
- "outputs": [],
1760
1648
  "source": [
1761
1649
  "\n",
1762
1650
  "def configureGovernanceSolutionViewService(adminPlatformURL, adminUserId, viewServerName, viewService, remotePlatformURL,remoteServerName):\n",
@@ -2119,7 +2007,8 @@
2119
2007
  "\n",
2120
2008
  "\n",
2121
2009
  "print (\"\\nDone.\")"
2122
- ]
2010
+ ],
2011
+ "outputs": []
2123
2012
  },
2124
2013
  {
2125
2014
  "cell_type": "markdown",
@@ -2155,7 +2044,6 @@
2155
2044
  "cell_type": "code",
2156
2045
  "execution_count": null,
2157
2046
  "metadata": {},
2158
- "outputs": [],
2159
2047
  "source": [
2160
2048
  "print(\"\\nChecking OMAG Server Platform availability...\")\n",
2161
2049
  "\n",
@@ -2164,7 +2052,8 @@
2164
2052
  "checkServerPlatform(\"Dev Platform\", devPlatformURL)\n",
2165
2053
  "\n",
2166
2054
  "print (\"\\nDone.\")"
2167
- ]
2055
+ ],
2056
+ "outputs": []
2168
2057
  },
2169
2058
  {
2170
2059
  "cell_type": "markdown",
@@ -2182,7 +2071,6 @@
2182
2071
  "cell_type": "code",
2183
2072
  "execution_count": null,
2184
2073
  "metadata": {},
2185
- "outputs": [],
2186
2074
  "source": [
2187
2075
  "\n",
2188
2076
  "\n",
@@ -2202,7 +2090,8 @@
2202
2090
  "deployServerToPlatform(adminPlatformURL, adminUserId, \"cocoOLS1\", dataLakePlatformURL)\n",
2203
2091
  "\n",
2204
2092
  "print(\"\\nDone.\")"
2205
- ]
2093
+ ],
2094
+ "outputs": []
2206
2095
  },
2207
2096
  {
2208
2097
  "cell_type": "markdown",
@@ -2220,8 +2109,8 @@
2220
2109
  "outputs_hidden": false
2221
2110
  }
2222
2111
  },
2223
- "outputs": [],
2224
- "source": []
2112
+ "source": [],
2113
+ "outputs": []
2225
2114
  }
2226
2115
  ],
2227
2116
  "metadata": {
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
9
9
 
10
10
  [project]
11
11
  name = "pyegeria"
12
- version = "0.3.6"
12
+ version = "0.3.7"
13
13
  #license = 'Apache 2.0'
14
14
  authors = [
15
15
  {name ="Dan Wolfson", email= "dan.wolfson@pdr-associates.com"},
@@ -18,6 +18,13 @@ setup(
18
18
  "examples/widgets/open_todos.py",
19
19
  "examples/widgets/server_status_widget.py",
20
20
  "examples/widgets/view_my_profile.py",
21
+ "examples/widgets/collection_viewer.py",
22
+ "examples/widgets/get_relationship_types.py",
23
+ "examples/widgets/get_tech_details.py",
24
+ "examples/widgets/get_tech_types.py",
25
+ "examples/widgets/list_asset_types.py",
26
+ "examples/widgets/project_list_viewer.py",
27
+
21
28
  ],
22
29
  # entry_points = {
23
30
  # 'console_scripts': [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://egeria-project.org/egeria-python
6
6
  Author: Dan Wolfson
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes