pyegeria 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. examples/widgets/catalog_user/README.md +15 -0
  2. examples/widgets/catalog_user/__init__.py +10 -0
  3. {pyegeria-0.4.0.data/scripts → examples/widgets/catalog_user}/list_assets.py +2 -2
  4. {pyegeria-0.4.0.data/scripts → examples/widgets/catalog_user}/view_asset_graph.py +45 -37
  5. {pyegeria-0.4.0.data/scripts → examples/widgets/catalog_user}/view_collection.py +1 -1
  6. {pyegeria-0.4.0.data/scripts → examples/widgets/catalog_user}/view_glossary.py +1 -1
  7. examples/widgets/developer/README.md +24 -0
  8. examples/widgets/developer/__init__.py +0 -0
  9. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/get_guid_info.py +1 -1
  10. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/get_tech_details.py +1 -1
  11. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/list_asset_types.py +1 -1
  12. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/list_registered_services.py +1 -1
  13. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/list_relationship_types.py +1 -1
  14. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/list_tech_templates.py +0 -0
  15. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/list_tech_types.py +1 -1
  16. {pyegeria-0.4.0.data/scripts → examples/widgets/developer}/list_valid_metadata_values.py +1 -1
  17. examples/widgets/operational/README.md +24 -0
  18. examples/widgets/operational/__init__.py +0 -0
  19. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/get_tech_type_elements.py +1 -1
  20. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/get_tech_type_template.py +1 -1
  21. examples/widgets/operational/view_asset_events.py +77 -0
  22. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_coco_status.py +11 -10
  23. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_eng_action_status.py +1 -1
  24. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_gov_eng_status.py +1 -1
  25. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_integ_daemon_status.py +46 -24
  26. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_platform_status.py +1 -1
  27. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_server_list.py +1 -1
  28. {pyegeria-0.4.0.data/scripts → examples/widgets/operational}/view_server_status.py +3 -5
  29. examples/widgets/personal_organizer/README.md +17 -0
  30. examples/widgets/personal_organizer/__init__.py +0 -0
  31. {pyegeria-0.4.0.data/scripts → examples/widgets/personal_organizer}/get_my_profile.py +1 -1
  32. {pyegeria-0.4.0.data/scripts → examples/widgets/personal_organizer}/list_projects.py +1 -1
  33. {pyegeria-0.4.0.data/scripts → examples/widgets/personal_organizer}/list_todos.py +1 -1
  34. {pyegeria-0.4.0.data/scripts → examples/widgets/personal_organizer}/view_my_todos.py +1 -1
  35. {pyegeria-0.4.0.data/scripts → examples/widgets/personal_organizer}/view_open_todos.py +1 -1
  36. {pyegeria-0.4.0.dist-info → pyegeria-0.5.0.dist-info}/METADATA +16 -16
  37. pyegeria-0.5.0.dist-info/RECORD +66 -0
  38. {pyegeria-0.4.0.dist-info → pyegeria-0.5.0.dist-info}/WHEEL +1 -2
  39. pyegeria-0.5.0.dist-info/entry_points.txt +5 -0
  40. {pyegeria → src/pyegeria}/automated_curation_omvs.py +6 -6
  41. src/pyegeria/config.toml +11 -0
  42. src/pyegeria/core_guids.py +121 -0
  43. {pyegeria → src/pyegeria}/core_omag_server_config.py +1 -1
  44. pyegeria/core_guids.py +0 -128
  45. pyegeria-0.4.0.data/scripts/Create_Collection_Sample.py +0 -292
  46. pyegeria-0.4.0.data/scripts/Create_Sustainability_Collection_Sample.py +0 -115
  47. pyegeria-0.4.0.dist-info/RECORD +0 -58
  48. pyegeria-0.4.0.dist-info/top_level.txt +0 -1
  49. {pyegeria-0.4.0.dist-info → pyegeria-0.5.0.dist-info}/LICENSE +0 -0
  50. {pyegeria → src/pyegeria}/Xfeedback_manager_omvs.py +0 -0
  51. {pyegeria → src/pyegeria}/Xloaded_resources_omvs.py +0 -0
  52. {pyegeria → src/pyegeria}/__init__.py +0 -0
  53. {pyegeria → src/pyegeria}/_client.py +0 -0
  54. {pyegeria → src/pyegeria}/_deprecated_gov_engine.py +0 -0
  55. {pyegeria → src/pyegeria}/_exceptions.py +0 -0
  56. {pyegeria → src/pyegeria}/_globals.py +0 -0
  57. {pyegeria → src/pyegeria}/_validators.py +0 -0
  58. {pyegeria → src/pyegeria}/action_author_omvs.py +0 -0
  59. {pyegeria → src/pyegeria}/asset_catalog_omvs.py +0 -0
  60. {pyegeria → src/pyegeria}/collection_manager_omvs.py +0 -0
  61. {pyegeria → src/pyegeria}/full_omag_server_config.py +0 -0
  62. {pyegeria → src/pyegeria}/glossary_browser_omvs.py +0 -0
  63. {pyegeria → src/pyegeria}/glossary_manager_omvs.py +0 -0
  64. {pyegeria → src/pyegeria}/my_profile_omvs.py +0 -0
  65. {pyegeria → src/pyegeria}/platform_services.py +0 -0
  66. {pyegeria → src/pyegeria}/project_manager_omvs.py +0 -0
  67. {pyegeria → src/pyegeria}/registered_info.py +0 -0
  68. {pyegeria → src/pyegeria}/runtime_manager_omvs.py +0 -0
  69. {pyegeria → src/pyegeria}/server_operations.py +0 -0
  70. {pyegeria → src/pyegeria}/utils.py +0 -0
  71. {pyegeria → src/pyegeria}/valid_metadata_omvs.py +0 -0
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
@@ -11,18 +11,16 @@ A simple server status display
11
11
 
12
12
  import time
13
13
  import argparse
14
-
15
- from pyegeria._exceptions import (
14
+ from pyegeria import (
16
15
  InvalidParameterException,
17
16
  PropertyServerException,
18
17
  UserNotAuthorizedException,
19
18
  print_exception_response,
19
+ ServerOps
20
20
  )
21
21
  from rich.table import Table
22
22
  from rich.live import Live
23
23
 
24
- from pyegeria.server_operations import ServerOps
25
-
26
24
 
27
25
  def test_display_status(server: str, url: str , username: str ):
28
26
  p_client = ServerOps(server, url, username)
@@ -0,0 +1,17 @@
1
+ <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
+ <!-- Copyright Contributors to the Egeria project. -->
3
+
4
+ # Personal Organizer
5
+
6
+ These widgets display different kinds of information about the projects, tasks and todos. Widgets
7
+ will continue to be added over time to cover more facets of catalog use.
8
+
9
+ * get_my_profiles.py - gets profile information about an individual.
10
+ * list_projects.py - lists information about a specified project or projects containing the search string.
11
+ * list_todos.py - lists information about a specified todo item or all todos containing the search string
12
+ * view_my_todos.py - view live status information about an individual's todos.
13
+ * view_open_todos.py - view live status information about open todos.
14
+
15
+ ----
16
+ License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
17
+ Copyright Contributors to the Egeria project.
File without changes
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-Lic
4
4
  ense-Identifier: Apache-2.0
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-Lic
4
4
  ense-Identifier: Apache-2.0
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
@@ -1,4 +1,4 @@
1
- #!python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
@@ -1,27 +1,27 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: A python client for Egeria
5
- Home-page: https://egeria-project.org/egeria-python
6
- Author: Dan Wolfson
7
- Author-email: Dan Wolfson <dan.wolfson@pdr-associates.com>
8
- Project-URL: Homepage, https://github.com/odpi/egeria-python
9
- Project-URL: Issues, https://github.com/odpi/egeria-python/issues
5
+ Home-page: https://github.com/odpi/egeria-python
6
+ License: Apache 2.0
10
7
  Keywords: egeria,metadata,governance
8
+ Author: Dan Wolfson
9
+ Author-email: dan.wolfson@pdr-associates.com
10
+ Requires-Python: >=3.10,<4.0
11
11
  Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: License :: Other/Proprietary License
12
13
  Classifier: Programming Language :: Python
13
14
  Classifier: Programming Language :: Python :: 3
14
- Requires-Python: >=3.10
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Requires-Dist: httpx (>=0.26.0,<0.27.0)
19
+ Requires-Dist: pytest (>=8.0.0,<9.0.0)
20
+ Requires-Dist: rich (>=13.7.0,<14.0.0)
21
+ Requires-Dist: setuptools (>=69.0.3,<70.0.0)
22
+ Requires-Dist: validators (>=0.22.0,<0.23.0)
23
+ Project-URL: Repository, https://github.com/odpi/egeria-python
15
24
  Description-Content-Type: text/markdown
16
- License-File: LICENSE
17
- Requires-Dist: requests ~=2.31.0
18
- Requires-Dist: validators ~=0.22.0
19
- Requires-Dist: pytest ~=7.4.2
20
- Requires-Dist: urllib3 ~=1.26.15
21
- Requires-Dist: rich ~=13.7.1
22
- Requires-Dist: httpx ~=0.26.0
23
- Provides-Extra: tests
24
- Requires-Dist: pytest ; extra == 'tests'
25
25
 
26
26
  <!-- SPDX-License-Identifier: CC-BY-4.0 -->
27
27
  <!-- Copyright Contributors to the ODPi Egeria project. -->
@@ -0,0 +1,66 @@
1
+ examples/widgets/catalog_user/README.md,sha256=aCCVo7iqyE-XGEvmoYXnkIGM0VskF95JTj6Egzec7LM,883
2
+ examples/widgets/catalog_user/__init__.py,sha256=q-MDnSfENt8n8QZPvM7eTKiKZhYCBUrgS7UryIxdx3Q,203
3
+ examples/widgets/catalog_user/list_assets.py,sha256=SqbJ-tIT-D1lBNsxEVwHnu7KjJSJteQPn0Mmo6KwhBo,4677
4
+ examples/widgets/catalog_user/view_asset_graph.py,sha256=3Q8kvFpMIXtvDp59WpNPF8owBDMqyZHitSON2Lp1-aU,9306
5
+ examples/widgets/catalog_user/view_collection.py,sha256=O1O0m58REvqM4g8bTX5a1udxkAh-SZ_Y1bNvNTAK8gk,3247
6
+ examples/widgets/catalog_user/view_glossary.py,sha256=TYAN0Dr0ouCbKP73KuST47wEZ0om3x5zYoZYgE0fwGk,4628
7
+ examples/widgets/developer/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
8
+ examples/widgets/developer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ examples/widgets/developer/get_guid_info.py,sha256=dIitXsOpAJ5Z459RxZj4iWfsWoZ-PNYxE5cxDXpnqnw,2542
10
+ examples/widgets/developer/get_tech_details.py,sha256=Qo5e5QRKMVK2CZJF1KwcxvnaFzF10JYga5jm0vNhSDA,4315
11
+ examples/widgets/developer/list_asset_types.py,sha256=H0SKCNyfKc_mw5D_ddTY2x3j57EqboB28I76wgmphJ4,2824
12
+ examples/widgets/developer/list_registered_services.py,sha256=BGD1fntzDx1KfX-Y4S6On_v05pkcO9dARQDxAEIceIU,5099
13
+ examples/widgets/developer/list_relationship_types.py,sha256=QR6S3IjvA1AAq4frIl_BdmhWNKyv-gsEE4Za6TxThYY,4193
14
+ examples/widgets/developer/list_tech_templates.py,sha256=DYGE8nP0_Eb4HNIEwcMqGgyZeFwnGTEOeTYIXZ7_i58,5088
15
+ examples/widgets/developer/list_tech_types.py,sha256=73ZnYBUC4PKfJEyW4eCCVT4UfjYHHfC-2ehe4IV_ots,3938
16
+ examples/widgets/developer/list_valid_metadata_values.py,sha256=0XB_LShI9QonEQ_Ng_Skhu4t7IVeStz2hnj2zALcK8g,5296
17
+ examples/widgets/operational/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
18
+ examples/widgets/operational/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ examples/widgets/operational/get_tech_type_elements.py,sha256=iNRvG4IxgNafWeNNS5rSZ7OvPUduKsqyJ7_uaWTKpuo,4962
20
+ examples/widgets/operational/get_tech_type_template.py,sha256=6wlplKOdziclpjLZRgyfmhdBVr7ZQhCuig0JwbubjF0,4958
21
+ examples/widgets/operational/view_asset_events.py,sha256=9eJJhIbUmzOWNtxYh6hh_HvJZmsUMMtQTDXK3LSg7pA,2498
22
+ examples/widgets/operational/view_coco_status.py,sha256=dRx6rgXqJQPl7n4_T0aISF-EkF54B7XXcEukM4MmySM,3299
23
+ examples/widgets/operational/view_eng_action_status.py,sha256=4A8yzXpsBDzeoVWqfJ4rI5mRKSzKC6EIq4eEOCp9tvQ,4950
24
+ examples/widgets/operational/view_gov_eng_status.py,sha256=GNSWU8qWB7N55ZH7mT3QnYOt-jF19QzqfwiWnHQO1sM,3975
25
+ examples/widgets/operational/view_integ_daemon_status.py,sha256=3KP4LiR54Ko06mWlzluZX7daSTgRBdMWYpsH2RaR9E0,5898
26
+ examples/widgets/operational/view_platform_status.py,sha256=iXOQ1kbU6ABdXAk48bTDWRCUGZCCsBoA8-uogSFTGBQ,4433
27
+ examples/widgets/operational/view_server_list.py,sha256=xMRlvLK6-wDJkGpEAriciK8AHD_FhUT9d1kPwqSa1Z4,3102
28
+ examples/widgets/operational/view_server_status.py,sha256=20kwAvO6Vo49PXm5127UrRWm7m5teJ_BfLqQjnwDTbw,2801
29
+ examples/widgets/personal_organizer/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
30
+ examples/widgets/personal_organizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
+ examples/widgets/personal_organizer/get_my_profile.py,sha256=6a3Q6PQkWFDSiaevO__C1e-zLgviWYW0fjQnTGQ5M_M,3719
32
+ examples/widgets/personal_organizer/list_projects.py,sha256=zM7nCyrHbj1evo64qru8jN9Ce6qZSvIHatIuq5ZzV_Q,5004
33
+ examples/widgets/personal_organizer/list_todos.py,sha256=HWxHX_wIxvpWNRJ9wZIv0uQKKzSo4Dteff_4BNWSz5M,4179
34
+ examples/widgets/personal_organizer/view_my_todos.py,sha256=j9mre_0EuJ_qV90cT7vu6BZL3brfH_cA6dZUIvNXm9Y,5686
35
+ examples/widgets/personal_organizer/view_open_todos.py,sha256=SK5eOfzEvG9whEO2OdoWPDm63R1xYpGbPTdOSiHbLkw,3971
36
+ src/pyegeria/Xfeedback_manager_omvs.py,sha256=uNQMOPG08UyIuLzBfYt4uezDyLWdpBgJ2ZuvqumaWuY,9231
37
+ src/pyegeria/Xloaded_resources_omvs.py,sha256=_1RKeIfq3ga6nvtOzZ5dWcDFgxNiUOPJhnyMv1iCm9s,3377
38
+ src/pyegeria/__init__.py,sha256=PGHAdooCyZwawxAyDzP2Tlj-yjKjdI4oOPtZmw95Qg8,2007
39
+ src/pyegeria/_client.py,sha256=uQqfjf0JPacEWcDvbKpCvCypbDmAmGHaFQf_UTPK7VQ,23524
40
+ src/pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
41
+ src/pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
42
+ src/pyegeria/_globals.py,sha256=IKk40ogVhdYRagyau2k9pJqcs17UZ43Cx4iOeYRojOk,560
43
+ src/pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
44
+ src/pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
45
+ src/pyegeria/asset_catalog_omvs.py,sha256=Y-Eh0k-zkJNOChVlLbC2bsTSBVLWhk-0-ewCV4YlyDY,25802
46
+ src/pyegeria/automated_curation_omvs.py,sha256=XPi0vO8hZTzx_qZ5yZ2FrJH28q3A2i0yByJ0hC7gWjE,118268
47
+ src/pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
48
+ src/pyegeria/config.toml,sha256=2Jp6ozhlVgDLWeG5702dTTAYEUv_jYNAFFWpEyR8xV8,214
49
+ src/pyegeria/core_guids.py,sha256=Cv5L3V_IzjHAw6ttGRlNXcrOgKdZdEbhCB1XaOZYYYE,4237
50
+ src/pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
51
+ src/pyegeria/full_omag_server_config.py,sha256=zzIyhCDolbLEJrc9JoBK308Mcq_96swYJopBN7_o4n8,45358
52
+ src/pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
53
+ src/pyegeria/glossary_manager_omvs.py,sha256=AyTNBeOwa7ISOkpjzHHEtpiFzFo0ykcEQ525h_wqfMM,133328
54
+ src/pyegeria/my_profile_omvs.py,sha256=w-3aL9s7VlonUGtdKgfMSCeYIbCtJn0zDLTuqUxAYFc,42265
55
+ src/pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I,41808
56
+ src/pyegeria/project_manager_omvs.py,sha256=_U6m2vquu4eEV7aY8X3hsvfm2zX0EBica1reGWX9amY,77078
57
+ src/pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
58
+ src/pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfROZHI,37628
59
+ src/pyegeria/server_operations.py,sha256=YBdQJjPOmA1uhrUvzrjUKNGUc5nju9bhvCjF3AbdyWk,16164
60
+ src/pyegeria/utils.py,sha256=H0mew9IRcbsEi-pZfaT9HGuPO9CMOwnhOgIltyNvqTY,5240
61
+ src/pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
62
+ pyegeria-0.5.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
+ pyegeria-0.5.0.dist-info/METADATA,sha256=fxeDHcE9fO20R9EBT8V_WsWyaGoZO-8FD3hSxT0niR0,2535
64
+ pyegeria-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
65
+ pyegeria-0.5.0.dist-info/entry_points.txt,sha256=6Xd-QIWZqG7bjA1G2591ws0bilvEdugtnqIxEYnVhyc,226
66
+ pyegeria-0.5.0.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.2.0)
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ list_asset_types=examples.widgets.developer.list_asset_types:main
3
+ view_my_todos=examples.widgets.personal_organizer.view_my_todos:main
4
+ view_server_status=examples.widgets.operational.view_server_status:main
5
+
@@ -13,9 +13,9 @@ from httpx import Response
13
13
  from pyegeria import Client, max_paging_size, body_slimmer
14
14
  from pyegeria._exceptions import (InvalidParameterException, PropertyServerException, UserNotAuthorizedException)
15
15
  from ._validators import validate_name, validate_guid, validate_search_string
16
- from .core_guids import (FileFolder_template_GUID,
17
- PostgreSQL_Server_template_GUID,
18
- Apache_Kafka_Server_template_GUID,
16
+ from .core_guids import (FILEFOLDER_TEMPLATE_GUID,
17
+ POSTGRESQL_SERVER_TEMPLATE_GUID,
18
+ APACHE_KAFKA_SERVER_TEMPLATE_GUID,
19
19
  )
20
20
 
21
21
 
@@ -169,7 +169,7 @@ class AutomatedCuration(Client):
169
169
  The GUID of the Kafka server element.
170
170
  """
171
171
 
172
- body = {"templateGUID": Apache_Kafka_Server_template_GUID, "isOwnAnchor": 'true',
172
+ body = {"templateGUID":APACHE_KAFKA_SERVER_TEMPLATE_GUID, "isOwnAnchor": 'true',
173
173
  "placeholderPropertyValues": {"serverName": kafka_server, "hostIdentifier": host_name,
174
174
  "portNumber": port, "description": description}}
175
175
  body_s = body_slimmer(body)
@@ -241,7 +241,7 @@ class AutomatedCuration(Client):
241
241
  str
242
242
  The GUID of the Postgres server element.
243
243
  """
244
- body = {"templateGUID": PostgreSQL_Server_template_GUID, "isOwnAnchor": 'true',
244
+ body = {"templateGUID":POSTGRESQL_SERVER_TEMPLATE_GUID, "isOwnAnchor": 'true',
245
245
  "placeholderPropertyValues": {"serverName": postgres_server, "hostIdentifier": host_name,
246
246
  "portNumber": port, "databaseUserId": db_user, "description": description,
247
247
  "databasePassword": db_pwd}}
@@ -319,7 +319,7 @@ class AutomatedCuration(Client):
319
319
  str
320
320
  The GUID of the File Folder element.
321
321
  """
322
- body = {"templateGUID": FileFolder_template_GUID,
322
+ body = {"templateGUID": FILEFOLDER_TEMPLATE_GUID,
323
323
  "isOwnAnchor": 'true',
324
324
  "placeholderPropertyValues": {
325
325
  "directoryPathName": path_name,
@@ -0,0 +1,11 @@
1
+
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ # Copyright Contributors to the ODPi Egeria project.
4
+
5
+ # config.toml for connected_asset_client_base
6
+
7
+ [egeria_platform]
8
+ url = "https://localhost:9443"
9
+
10
+ [config]
11
+ isDebug = false
@@ -0,0 +1,121 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Useful from core content archive
6
+ """
7
+
8
+ #
9
+ # Template guids
10
+ #
11
+
12
+ CSV_DATA_FILE_TEMPLATE_GUID = '13770F93-13C8-42BE-9BB8-E0B1B1E52B1F'
13
+
14
+ KEYSTORE_FILE_TEMPLATE_GUID = 'FBCFCC0C-1652-421F-B49B-C3E1C108768F'
15
+
16
+ OSS_UNITY_CATALOG_FUNCTION_TEMPLATE_GUID = '4AE9F6DF-4678-4B0A-A492-4A982C8397FD'
17
+
18
+ DATA_FILE_TEMPLATE_GUID = '66D8DDA9-00CF-4E59-938C-4B0583596B1E'
19
+
20
+ VIEW_SERVER_TEMPLATE_GUID = 'FD61CA01-390D-4AA2-A55D-426826AA4E1B'
21
+
22
+ ARCHIVE_FILE_TEMPLATE_GUID = '7578E504-D00F-406D-A194-3FC0A351CDF9'
23
+
24
+ POSTGRESQL_RELATIONAL_DATABASE_TEMPLATE_GUID = '3D398B3F-7AE6-4713-952A-409F3DEA8520'
25
+
26
+ OSS_UNITY_CATALOG_VOLUME_TEMPLATE_GUID = '384386BA-83C0-4981-8553-4306AECE440F'
27
+
28
+ PROGRAM_FILE_TEMPLATE_GUID = '32D27E9C-1FDF-455A-AD2A-42B4D7D99108'
29
+
30
+ FILEFOLDER_TEMPLATE_GUID = 'FBDD8EFD-1B69-474C-BB6D-0A304B394146'
31
+
32
+ OSS_UNITY_CATALOG_CATALOG_TEMPLATE_GUID = 'F7B05A3E-913C-497D-96F5-ACDEB2EC897E'
33
+
34
+ POSTGRESQL_SERVER_TEMPLATE_GUID = '542134E6-B9CE-4DCE-8AEF-22E8DAF34FDB'
35
+
36
+ AUDIO_DATA_FILE_TEMPLATE_GUID = '39B4B670-7F15-4744-A5BA-62E8EDAFBCEE'
37
+
38
+ DOCUMENT_FILE_TEMPLATE_GUID = 'EB6F728D-FA54-4350-9807-1199CBF96851'
39
+
40
+ INTEGRATION_DAEMON_TEMPLATE_GUID = '6B3516F0-DD13-4786-9601-07215F995197'
41
+
42
+ XML_DATA_FILE_TEMPLATE_GUID = 'EA67AE71-C674-473E-B38B-689879D2A7D9'
43
+
44
+ PARQUET_DATA_FILE_TEMPLATE_GUID = '7F6CD744-79C3-4D25-A056-EEB1A91574C3'
45
+
46
+ THREED_IMAGE_DATA_FILE_TEMPLATE_GUID = '0059EA2B-6292-4CAC-AA6F-A80A605F1114'
47
+
48
+ YAML_FILE_TEMPLATE_GUID = '2221855B-2B64-4B45-A2EE-C40ADC5E2A64'
49
+
50
+ METADATA_ACCESS_SERVER_TEMPLATE_GUID = 'BD8DE890-FA79-4C24-AAB8-20B41B5893DD'
51
+
52
+ PROPERTIES_FILE_TEMPLATE_GUID = '3B281111-A0EF-4FC4-99E7-9A0EF84A7636'
53
+
54
+ VECTOR_DATA_FILE_TEMPLATE_GUID = 'DB1BEC7F-55A9-40D3-91C0-A57B76D422E2'
55
+
56
+ APACHE_KAFKA_SERVER_TEMPLATE_GUID = '5E1FF810-5418-43F7-B7C4-E6E062F9AFF7'
57
+
58
+ OSS_UNITY_CATALOG_SCHEMA_TEMPLATE_GUID = 'A75CFB07-31FE-457E-9298-BE145DC93071'
59
+
60
+ EXECUTABLE_FILE_TEMPLATE_GUID = '3D99A163-7A13-4576-A212-784010A8302A'
61
+
62
+ JSON_DATA_FILE_TEMPLATE_GUID = 'C4836635-7E9E-446A-83B5-15E206B1AFF3'
63
+
64
+ FILE_SYSTEM_TEMPLATE_GUID = '522F228C-097C-4F90-9EFC-26C1F2696F87'
65
+
66
+ SOURCE_CODE_FILE_TEMPLATE_GUID = '9C7013EF-F29B-4B01-A8EA-5EA14F64C67A'
67
+
68
+ OSS_UNITY_CATALOG_SERVER_TEMPLATE_GUID = '1077A346-7A50-4CB0-A795-B219BAFAABF6'
69
+
70
+ APPLE_MACBOOK_PRO_TEMPLATE_GUID = '32A9FD56-85C9-47FE-A211-9DA3871BF4DA'
71
+
72
+ BUILD_INSTRUCTION_FILE_TEMPLATE_GUID = 'FBB2FA2E-8BCB-402E-9BE7-5C6DB9F2C504'
73
+
74
+ SPREADSHEET_DATA_FILE_TEMPLATE_GUID = 'E4FABFF5-2BA9-4050-9076-6ED917970B4C'
75
+
76
+ UNIX_FILE_SYSTEM_TEMPLATE_GUID = '27117270-8667-41D0-A99A-9118F9B60199'
77
+
78
+ VIDEO_DATA_FILE_TEMPLATE_GUID = '93B2B722-EC0F-4DA4-960A-B8D4922F8BF5'
79
+
80
+ POSTGRESQL_RELATIONAL_DATABASE_SCHEMA_TEMPLATE_GUID = '82A5417C-D882-4271-8444-4C6A996A8BFC'
81
+
82
+ ENGINE_HOST_TEMPLATE_GUID = '1764A891-4234-45F1-8CC3-536AF40C790D'
83
+
84
+ AVRO_DATA_FILE_TEMPLATE_GUID = '9F5BE428-058E-41DD-B506-3A222283B579'
85
+
86
+ OSS_UNITY_CATALOG_TABLE_TEMPLATE_GUID = 'F5B12348-92AC-4A52-B8E0-B06CF215484E'
87
+
88
+ FILE_TEMPLATE_GUID = 'AE3067C7-CC72-4A18-88E1-746803C2C86F'
89
+
90
+ APACHE_KAFKA_TOPIC_TEMPLATE_GUID = 'EA8F81C9-C59C-47DE-9525-7CC59D1251E5'
91
+
92
+ SCRIPT_FILE_TEMPLATE_GUID = 'DBD5E6BB-1FF8-46F4-A007-FB0485F68C92'
93
+
94
+ APACHE_ATLAS_SERVER_TEMPLATE_GUID = 'FE6DCE45-A978-4417-AB55-17F05B8BCEA7'
95
+
96
+ RASTER_DATA_FILE_TEMPLATE_GUID = '47211156-F03F-4881-8526-015E695A3DAC'
97
+
98
+ DATA_FOLDER_TEMPLATE_GUID = '372A0379-7060-4C9D-8D84-BC709B31794C'
99
+
100
+ OMAG_SERVER_PLATFORM_TEMPLATE_GUID = '9B06C4DC-DDC8-47AE-B56B-28775D3A96F0'
101
+
102
+ #
103
+ # Integration Connector GUIDS
104
+ #
105
+
106
+ PostgreSQL_Relational_Database_Integration_Connector_GUID = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
107
+
108
+ Landing_Area_File_Monitor_Integration_Connector_GUID = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
109
+
110
+ FileFolder_Integration_Connector_GUID = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
111
+
112
+ OSS_Unity_Catalog_Catalog_Integration_Connector_GUID = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
113
+
114
+ PostgreSQL_Server_Integration_Connector_GUID = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
115
+
116
+ Apache_Kafka_Server_Integration_Connector_GUID = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
117
+
118
+ Software_Server_Integration_Connector_GUID = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
119
+
120
+ OSS_Unity_Catalog_Server_Integration_Connector_GUID = '06d068d9-9e08-4e67-8c59-073bbf1013af'
121
+
@@ -1717,7 +1717,7 @@ class CoreServerConfig(Client):
1717
1717
 
1718
1718
  return response.json().get("services", "No view services found")
1719
1719
 
1720
- def __config_all_view_services(self, mdr_server_name: str,
1720
+ def config_all_view_services(self, mdr_server_name: str,
1721
1721
  mdr_server_platform_root_url: str, server_name: str = None) -> None:
1722
1722
  """ Enable all view services that are registered with this OMAG server platform.
1723
1723
 
pyegeria/core_guids.py DELETED
@@ -1,128 +0,0 @@
1
- """
2
- SPDX-License-Identifier: Apache-2.0
3
- Copyright Contributors to the ODPi Egeria project.
4
-
5
- Useful from core content archive
6
- """
7
-
8
- #
9
- # Template guids
10
- #
11
-
12
- FILE_FOLDER_TEMPLATE = "553f51cf-3981-480e-acd8-86ed3e25329d"
13
-
14
- KAFKA_SERVER_TEMPLATE = "5e1ff810-5418-43f7-b7c4-e6e062f9aff7"
15
-
16
- POSTGRESQL_SERVER_TEMPLATE = "542134e6-b9ce-4dce-8aef-22e8daf34fdb"
17
-
18
- CSV_Data_File_template_GUID = '1b81010e-8525-43b4-8bd9-40c102f7f7d6'
19
-
20
- Keystore_File_template_GUID = '754def0b-b811-4ea0-b8bf-7414fa8a77b4'
21
-
22
- OSS_Unity_Catalog_Function_template_GUID = '4ae9f6df-4678-4b0a-a492-4a982c8397fd'
23
-
24
- Data_File_template_GUID = 'd7633260-0810-43fe-ba48-f3e3e3e7c95c'
25
-
26
- View_Server_template_GUID = 'fd61ca01-390d-4aa2-a55d-426826aa4e1b'
27
-
28
- Archive_File_template_GUID = '8a4ea587-dd3e-4148-8c01-0d366d19de11'
29
-
30
- PostgreSQL_Relational_Database_template_GUID = '3d398b3f-7ae6-4713-952a-409f3dea8520'
31
-
32
- OSS_Unity_Catalog_Volume_template_GUID = 'bf4dc272-a323-4ca7-8e37-b78a005ac578'
33
-
34
- Program_File_template_GUID = 'd8b8cae5-f4bd-4631-8836-88dc67a55c00'
35
-
36
- FileFolder_template_GUID = '99b0c995-7494-4063-89d1-1e0ec7153abd'
37
-
38
- OSS_Unity_Catalog_Catalog_template_GUID = '8bf8f102-490f-4718-bd27-d018660124b6'
39
-
40
- PostgreSQL_Server_template_GUID = '542134e6-b9ce-4dce-8aef-22e8daf34fdb'
41
-
42
- Audio_Data_File_template_GUID = 'f65ea229-5473-469f-a447-32ba09bf1f14'
43
-
44
- Document_File_template_GUID = '080ca599-095a-499e-ba26-7d58e538c32a'
45
-
46
- Integration_Daemon_template_GUID = '6b3516f0-dd13-4786-9601-07215f995197'
47
-
48
- XML_Data_File_template_GUID = '643a284b-3137-41de-8c37-521dcd3a1441'
49
-
50
- Parquet_Data_File_template_GUID = '2396c38e-54aa-4d04-a95d-ce02fb998c55'
51
-
52
- ThreeD_Image_Data_File_template_GUID = '5648eaa6-4826-4964-9657-78ab9cc387d8'
53
-
54
- YAML_File_template_GUID = '6515915a-c218-4e55-9b2c-d5fbec9dfdb4'
55
-
56
- Metadata_Access_Server_template_GUID = 'bd8de890-fa79-4c24-aab8-20b41b5893dd'
57
-
58
- Properties_File_template_GUID = '1cefcfe3-585d-4d78-a4dd-3f929f5c5a9b'
59
-
60
- Vector_Data_File_template_GUID = 'ea60c096-71e6-4492-ba10-90de63e4fe3a'
61
-
62
- Apache_Kafka_Server_template_GUID = '5e1ff810-5418-43f7-b7c4-e6e062f9aff7'
63
-
64
- OSS_Unity_Catalog_Schema_template_GUID = 'd95e5364-4ebf-42d5-bb39-ff1334143b15'
65
-
66
- Executable_File_template_GUID = '588c89e7-cc16-4ae1-8b81-0cd90250df0c'
67
-
68
- JSON_Data_File_template_GUID = 'c62ff28b-5cd2-4c74-bba3-0a875ddbbdf4'
69
-
70
- File_System_template_GUID = 'd3b548d5-c5bf-42f7-8714-80a034b00424'
71
-
72
- Source_Code_File_template_GUID = '092e6742-7d5a-40cb-b5be-b0440e730c0a'
73
-
74
- OSS_Unity_Catalog_Server_template_GUID = '1077a346-7a50-4cb0-a795-b219bafaabf6'
75
-
76
- Apple_MacBook_Pro_template_GUID = '32a9fd56-85c9-47fe-a211-9da3871bf4da'
77
-
78
- Build_Instruction_File_template_GUID = '7a2b22a1-2198-4ad6-adc0-8a3c2e2faaa7'
79
-
80
- Spreadsheet_Data_File_template_GUID = '33860da2-c467-4192-908c-f8dab837c098'
81
-
82
- UNIX_File_System_template_GUID = '6d82998d-5d6c-4cd2-902e-8baa98e152d4'
83
-
84
- Video_Data_File_template_GUID = '6d7b46f9-c7ea-4d68-b66b-b077ec91bc19'
85
-
86
- PostgreSQL_Relational_Database_Schema_template_GUID = '82a5417c-d882-4271-8444-4c6a996a8bfc'
87
-
88
- Engine_Host_template_GUID = '1764a891-4234-45f1-8cc3-536af40c790d'
89
-
90
- Avro_Data_File_template_GUID = '0c61cfef-a0d3-4130-85fc-d5c39287499c'
91
-
92
- OSS_Unity_Catalog_Table_template_GUID = 'f5b12348-92ac-4a52-b8e0-b06cf215484e'
93
-
94
- File_template_GUID = '9725e90e-ebad-474f-af65-a8aaaca03208'
95
-
96
- Apache_Kafka_Topic_template_GUID = 'ea8f81c9-c59c-47de-9525-7cc59d1251e5'
97
-
98
- Script_File_template_GUID = '4842a347-56a1-4940-b340-2f39cf91dc6d'
99
-
100
- Apache_Atlas_Server_template_GUID = 'fe6dce45-a978-4417-ab55-17f05b8bcea7'
101
-
102
- Raster_Data_File_template_GUID = 'c972afee-0170-446f-893b-f88a373a4a99'
103
-
104
- Data_Folder_template_GUID = 'e854455c-8b5a-4030-8289-2323f7f68841'
105
-
106
- OMAG_Server_Platform_template_GUID = '9b06c4dc-ddc8-47ae-b56b-28775d3a96f0'
107
-
108
- DBC_Relational_Database_Integration_Connector_GUID = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
109
-
110
- #
111
- # Integration Connector GUIDS
112
- #
113
-
114
- PostgreSQL_Relational_Database_Integration_Connector_GUID = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
115
-
116
- Landing_Area_File_Monitor_Integration_Connector_GUID = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
117
-
118
- FileFolder_Integration_Connector_GUID = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
119
-
120
- OSS_Unity_Catalog_Catalog_Integration_Connector_GUID = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
121
-
122
- PostgreSQL_Server_Integration_Connector_GUID = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
123
-
124
- Apache_Kafka_Server_Integration_Connector_GUID = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
125
-
126
- Software_Server_Integration_Connector_GUID = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
127
-
128
- OSS_Unity_Catalog_Server_Integration_Connector_GUID = '06d068d9-9e08-4e67-8c59-073bbf1013af'