pyegeria 0.7.45__py3-none-any.whl → 0.8.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 (51) hide show
  1. examples/widgets/cat/list_cert_types.py +61 -43
  2. examples/widgets/cat/list_projects.py +1 -1
  3. examples/widgets/cli/egeria.py +18 -2
  4. examples/widgets/cli/egeria_tech.py +299 -98
  5. examples/widgets/my/my_profile_actions.py +51 -32
  6. examples/widgets/ops/engine_actions.py +35 -23
  7. examples/widgets/ops/integration_daemon_actions.py +51 -32
  8. examples/widgets/tech/get_element_info.py +63 -38
  9. examples/widgets/tech/get_guid_info.py +50 -27
  10. examples/widgets/tech/list_asset_types.py +33 -23
  11. examples/widgets/tech/list_elements.py +44 -34
  12. examples/widgets/tech/list_elements_x.py +69 -49
  13. examples/widgets/tech/list_registered_services.py +44 -24
  14. examples/widgets/tech/list_related_specification.py +70 -45
  15. examples/widgets/tech/list_relationship_types.py +50 -31
  16. examples/widgets/tech/list_valid_metadata_values.py +57 -28
  17. examples/widgets/tech/x_list_related_elements.py +54 -34
  18. pyegeria/Xloaded_resources_omvs.py +43 -41
  19. pyegeria/__init__.py +5 -1
  20. pyegeria/_client.py +142 -102
  21. pyegeria/_deprecated_gov_engine.py +218 -167
  22. pyegeria/action_author_omvs.py +107 -88
  23. pyegeria/asset_catalog_omvs.py +467 -395
  24. pyegeria/automated_curation_omvs.py +2 -2
  25. pyegeria/classification_manager_omvs.py +1920 -868
  26. pyegeria/collection_manager_omvs.py +1957 -1519
  27. pyegeria/core_omag_server_config.py +310 -192
  28. pyegeria/egeria_cat_client.py +88 -0
  29. pyegeria/egeria_config_client.py +37 -0
  30. pyegeria/egeria_my_client.py +47 -0
  31. pyegeria/egeria_ops_client.py +67 -0
  32. pyegeria/egeria_tech_client.py +77 -0
  33. pyegeria/feedback_manager_omvs.py +633 -631
  34. pyegeria/full_omag_server_config.py +330 -158
  35. pyegeria/glossary_browser_omvs.py +927 -474
  36. pyegeria/glossary_manager_omvs.py +1033 -543
  37. pyegeria/mermaid_utilities.py +1 -1
  38. pyegeria/my_profile_omvs.py +714 -574
  39. pyegeria/platform_services.py +228 -176
  40. pyegeria/project_manager_omvs.py +1158 -903
  41. pyegeria/registered_info.py +76 -74
  42. pyegeria/runtime_manager_omvs.py +749 -670
  43. pyegeria/server_operations.py +123 -85
  44. pyegeria/valid_metadata_omvs.py +268 -168
  45. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/METADATA +1 -1
  46. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/RECORD +49 -46
  47. examples/widgets/tech/list_gov_processes.py +0 -162
  48. pyegeria/tech_guids_31-08-2024 14:33.py +0 -79
  49. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/LICENSE +0 -0
  50. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/WHEEL +0 -0
  51. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.7.45
3
+ Version: 0.8.0
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -10,19 +10,19 @@ examples/widgets/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_
10
10
  examples/widgets/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
11
11
  examples/widgets/cat/list_archives.py,sha256=bQ0Uph35hMvufn15nO1ulYsZ20fyZmvCr57sCDgHMy8,5498
12
12
  examples/widgets/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
13
- examples/widgets/cat/list_cert_types.py,sha256=-FEftRK36pOAXYr8OprvL6T_FcRyVtgfqzSKX74XC5o,7004
13
+ examples/widgets/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
14
14
  examples/widgets/cat/list_glossary.py,sha256=ybHFl1qebnE48GqtYaM1Gl26Vs9f9YAPAnrrAHHJqHs,5705
15
- examples/widgets/cat/list_projects.py,sha256=7Ia2nwukE62jR9pYUVzR2v6PY4xKoA0yk245CHmYt2I,8005
15
+ examples/widgets/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
16
16
  examples/widgets/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
17
17
  examples/widgets/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
18
18
  examples/widgets/cat/list_todos.py,sha256=_Pe3h74doX_cOoe0Z5_FvZtETBk3tkw2evfRpRgai5E,6283
19
19
  examples/widgets/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
20
20
  examples/widgets/cli/__init__.py,sha256=6d_R0KZBNnJy9EBz9J2xvGFlx-3j_ZPqPCxKgdvYeDQ,291
21
- examples/widgets/cli/egeria.py,sha256=jhejo0UEYnBsNxZzk4QJJs82rG7_Lpv1ScBeVlMFqeI,28387
21
+ examples/widgets/cli/egeria.py,sha256=yY_7QRTH7fo4qlHfqrf2OUHuyy_MbyMWexxgCbQAPIk,28755
22
22
  examples/widgets/cli/egeria_cat.py,sha256=fSclOYRPTz_lEH-aVpss3jS-vDm2S9EJ5w-M_Q6qh7k,13085
23
23
  examples/widgets/cli/egeria_my.py,sha256=cGehUFrJKwNQ49CQ-rEX0M-6yjviRSb9KQjAcKD7Mq4,5993
24
24
  examples/widgets/cli/egeria_ops.py,sha256=pCP-0fpKOJ2XQ78lpw-t_VI3pytur3vAR3XykSlc_6U,11179
25
- examples/widgets/cli/egeria_tech.py,sha256=AA2PNDKebdDObtrmjF6BHaSuSpNVeQgB61CSX1cBvsg,10255
25
+ examples/widgets/cli/egeria_tech.py,sha256=B0lmlSUVcUXS426jBA71sGSqyl4dqm967wR5AzZNGYk,11265
26
26
  examples/widgets/cli/ops_config.py,sha256=m4AfPjf-fR4EBTx8Dc2mcgrfWwAxb30YGeV-v79bg4U,1450
27
27
  examples/widgets/my/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
28
28
  examples/widgets/my/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -30,12 +30,12 @@ examples/widgets/my/list_my_profile.py,sha256=zKNjG7iE0NNihnTv1ot1vodEJ321N-gfR6
30
30
  examples/widgets/my/list_my_roles.py,sha256=DCiNdnoHXQueUE5g73D3oRXfJ6LaUQGbibNtDRdicR8,5078
31
31
  examples/widgets/my/monitor_my_todos.py,sha256=1580SOyq2RPsAyAkRxIpRHRxDvtI1xWfUrxylF6qKH4,6409
32
32
  examples/widgets/my/monitor_open_todos.py,sha256=oYmy5eRA_5BLhtkP8iI6pxci-8y6d13Vcw2F2yLawxY,5407
33
- examples/widgets/my/my_profile_actions.py,sha256=SrlC0PSix0b78MCWJdGJAVgai8gbJmYyz1ou2ZVOkIs,3949
33
+ examples/widgets/my/my_profile_actions.py,sha256=ytPBLw7_UgYCv1ljxxHtaDCNG65djKZdfMYF6wFpEtU,4138
34
34
  examples/widgets/my/todo_actions.py,sha256=1T_FhjjMLOvMZjWGYvYOSd_R4JB-s8hIHiNSv0yx1QQ,8256
35
35
  examples/widgets/ops/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
36
36
  examples/widgets/ops/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
37
- examples/widgets/ops/engine_actions.py,sha256=i0-_wRJqdKARwnEwPQMJvr5bVEGi2WE9Np0_A-o6k3A,2978
38
- examples/widgets/ops/integration_daemon_actions.py,sha256=m17Oi8NJfs1qPaV6qRadse3HhLQT16FQA0jAIUYuCTk,3951
37
+ examples/widgets/ops/engine_actions.py,sha256=rxtCacBTdu6qHAXIvv7KfKZIpfj9-B3Uap1Qy-x7hF4,3013
38
+ examples/widgets/ops/integration_daemon_actions.py,sha256=Xib8HXh1rM3Wznn1Db3qbEjQ8QvkJyCx-jXoSfruIt8,4140
39
39
  examples/widgets/ops/list_catalog_targets.py,sha256=0FIZqZu7DSh7tnrme6EOhNiVvK8wyvN1iTZKEDuwTmw,6620
40
40
  examples/widgets/ops/load_archive.py,sha256=duf3wq2ANRBiOj9KTFsw8TseEkJLKdzITAeTCjsMvI0,2453
41
41
  examples/widgets/ops/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDXefPBnllaZLelGls,3838
@@ -51,49 +51,52 @@ examples/widgets/ops/refresh_integration_daemon.py,sha256=QDB3dpAlLY8PhrGhAZG4tW
51
51
  examples/widgets/ops/restart_integration_daemon.py,sha256=fID7qGFL5RD6rfn9PgXf5kwI4MU0Ho_IGXnDVbKT5nU,2710
52
52
  examples/widgets/tech/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
53
53
  examples/widgets/tech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
- examples/widgets/tech/get_element_info.py,sha256=3B6mTu09d-FRTVWbZ5uujKBLLy8ULFyr5F4ZYE0F65g,4582
55
- examples/widgets/tech/get_guid_info.py,sha256=p-peTX1Mahi8fNmcNVHOVI3OjqjlJwZjv7gRdBI4l0Q,4137
54
+ examples/widgets/tech/get_element_info.py,sha256=Rauespy7ZfyKtLh_H8XWgYTpPijsqlUGm-zeb7KrG7k,4749
55
+ examples/widgets/tech/get_guid_info.py,sha256=HfwcGAFALFIpy4AJAgQHU__Fv1fjprh1G1xB5AjlZ80,4282
56
56
  examples/widgets/tech/get_tech_details.py,sha256=p5OgSKep3VOuuZmQXE2OSYhE-kvnI18TBcQ-PU5kEAw,6023
57
- examples/widgets/tech/list_asset_types.py,sha256=PHPtCXqCHhIw0K59hUvoKdybp6IKPt_9Wc0AJVDtdrg,4181
58
- examples/widgets/tech/list_elements.py,sha256=8P2nCtTgBhYZfxFcyG9xL7b1a66o3SU1ny-Yh-BVuII,4730
59
- examples/widgets/tech/list_elements_x.py,sha256=E5f6hAs4OeCckz9XM8wb5eynPN6eSZrVlWLqVOaWT-c,6079
60
- examples/widgets/tech/list_gov_processes.py,sha256=bQ0Uph35hMvufn15nO1ulYsZ20fyZmvCr57sCDgHMy8,5498
61
- examples/widgets/tech/list_registered_services.py,sha256=TqZbT54vMGvHUAX_bovCce3A3eV_RbjSEtPP6u6ZJV0,6388
62
- examples/widgets/tech/list_related_specification.py,sha256=zFOsqR-GB4VUWnZoxmaKWv1-qkI3syRoIC9iIEO6khI,5797
63
- examples/widgets/tech/list_relationship_types.py,sha256=0T8Sl7J3WFq_0IQLLzcL0T79pUxVENWNT95Cpjz2ukc,5633
57
+ examples/widgets/tech/list_asset_types.py,sha256=LG7e8yjewQ_SX8SjzEiEii_-hDvmAJKyLN8iDjbch50,4162
58
+ examples/widgets/tech/list_elements.py,sha256=cafGJMwvWTK5TkUNMPkPdSaTGqws0uQknyA_iywFjNQ,4834
59
+ examples/widgets/tech/list_elements_x.py,sha256=mVAwl7QLPjiKCN_zWZpJIK4H_bwuT4hla8mUB8bJcgA,6370
60
+ examples/widgets/tech/list_registered_services.py,sha256=QzE_ebdopNkHWMxa-xc902GG6ac4Yw-ln8i8NUsgHVA,6542
61
+ examples/widgets/tech/list_related_specification.py,sha256=mWrKenXOskL4cl0DHjH2Z8M9-FJzjkzK62W-tsx3WDU,5918
62
+ examples/widgets/tech/list_relationship_types.py,sha256=BlVzrPznZXqMVLN2-2vYEVRGeYsiJrqXxIJEikobyoo,5875
64
63
  examples/widgets/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5ECkDJMN9QVNReC1M,6192
65
- examples/widgets/tech/list_valid_metadata_values.py,sha256=64z5tr-0VD-mPTFmr6FT76gj4MXJZLWTxT4oeIiUaiU,6043
66
- examples/widgets/tech/x_list_related_elements.py,sha256=hDiPThI9FLI63yoWEy7j7k_zLPBSlZIXYSaixiY_YAY,5785
67
- pyegeria/Xloaded_resources_omvs.py,sha256=cseWZTIwNhkzhZ0fhujI66DslNAQcjuwsz_p1GRmSPQ,3392
68
- pyegeria/__init__.py,sha256=8qT2CHvWTsZOr4w1eDFo105KJhql9bqbXqG99xgugxA,9237
69
- pyegeria/_client.py,sha256=mTK3qqaxwrwn4OiIKZkSkMVEsHPJsHxKmfz1LK_FgEg,26308
70
- pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
64
+ examples/widgets/tech/list_valid_metadata_values.py,sha256=N3D0_BmREPszgde3uvvYdfzq7DJ46uMOv2t1vtncGsw,6333
65
+ examples/widgets/tech/x_list_related_elements.py,sha256=qBsf1619cecaMCTzG0MG22fAT32WNH2Z3CXrjo9z-5Y,5853
66
+ pyegeria/Xloaded_resources_omvs.py,sha256=xNLlmEXG8njFyiN08WKkT3D_9iLWzObM_2u5GTirjEo,3276
67
+ pyegeria/__init__.py,sha256=OpppU9_cqeNBzEecgi_EOlL6YZwED0S-9JcITxKGJLo,9403
68
+ pyegeria/_client.py,sha256=bX87W6_DlBIrmOJIrzzAwlCx_b2iHyUK3FPBqOUQ3dc,26522
69
+ pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
71
70
  pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
72
71
  pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
73
72
  pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
74
- pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
75
- pyegeria/asset_catalog_omvs.py,sha256=Rlr0RxdJlU6MaapPMGxjqlIqdo46TzNShwx66lTJZvo,25631
76
- pyegeria/automated_curation_omvs.py,sha256=835FippSwtvL-F8jv4DA_Mfe-4w5QOYRzcunXVgzEjw,150360
77
- pyegeria/classification_manager_omvs.py,sha256=PzdFm5Sp69QsWeiZ4DAtOfe2BvUXLdSNcj700WEMFgk,184475
78
- pyegeria/collection_manager_omvs.py,sha256=aGtzC3P8_YgY2KEzhtO19_H9drStE0hW5hUj-dA7bLo,112649
79
- pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
73
+ pyegeria/action_author_omvs.py,sha256=QZ2wMkQEvAmnr0mcgO8gnB1k95YghIgI1OBykO76O5c,6630
74
+ pyegeria/asset_catalog_omvs.py,sha256=ss_nUCUQA0wixUeUZxZQYLcxJ_FVIhK__jn99qvyq4k,24543
75
+ pyegeria/automated_curation_omvs.py,sha256=JdHppsoGH8bBvSRar_scEzYSVMqhOnN0Mg3PSkMOycE,150352
76
+ pyegeria/classification_manager_omvs.py,sha256=XQ6VKz6NHtSMPr5BUnamzCBJKKVnoROoVxgz4f1N7IQ,186133
77
+ pyegeria/collection_manager_omvs.py,sha256=qyWpJoClDRhlxoXqOacnxPW-pScITx8wZCSzb6Riyog,109997
78
+ pyegeria/core_omag_server_config.py,sha256=qp1mpTm8q6QrP1IOiXIDOpAGGyIG6fJJ0Kqu-XagF88,93659
80
79
  pyegeria/create_tech_guid_lists.py,sha256=jClpvURy20o4UV83LOwhGg3TZdHGzfjZ9y0MNZyG2To,4282
81
- pyegeria/feedback_manager_omvs.py,sha256=I-Qn7IcrJ5FiSjaC8dIwOmBF8XOCsjl88Anq1xNgyGI,164773
82
- pyegeria/full_omag_server_config.py,sha256=l4G0oM6l-axosYACypqNqzkF6wELzs9FgKJwvDMF0Fc,45817
83
- pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
84
- pyegeria/glossary_manager_omvs.py,sha256=MsvsTyyTzLbaIQttfhM-izVP06VsdWAueJiiMeKbVwY,128512
85
- pyegeria/mermaid_utilities.py,sha256=mcrzDiA3bTf1kJDNiuAv2gS5LSsgD_LafMvyaHlbqMA,8292
86
- pyegeria/my_profile_omvs.py,sha256=eVYzwgKM0kanDuSpMPpcXP0cJcT_nRsIGmSBdZztDp4,42124
87
- pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I,41808
88
- pyegeria/project_manager_omvs.py,sha256=RRPiyEqrcMY3jt3wK-7aEwY3c3PqEodAfDjEJx9duX0,77121
89
- pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
90
- pyegeria/runtime_manager_omvs.py,sha256=oSVFeG_yBGXIvQR0EClLZqTZ6C5z5ReZzwm8cce854U,37658
91
- pyegeria/server_operations.py,sha256=1z2wZLdrNZG6HlswY_Eh8qI1mlcjsQ59zO-AMy9XbUU,16605
92
- pyegeria/tech_guids_31-08-2024 14:33.py,sha256=B3fytBw9dmjnlEaCKgt6oQoGh-8HUBG0mFQeyDoUEYQ,6229
80
+ pyegeria/egeria_cat_client.py,sha256=qvt0YS0Xzv2xd7ZEPs0ihPhbbbwuhzBfRWWJOvMggNc,2056
81
+ pyegeria/egeria_config_client.py,sha256=oJ3Q4ts9ZayFJFB2cKGHaTqDyAZmsvx0GUzc35fEhdk,1030
82
+ pyegeria/egeria_my_client.py,sha256=DfC1gdO0H3j-w62UQyAhCsVIHRcjF5oj48jDyFo-hGw,1340
83
+ pyegeria/egeria_ops_client.py,sha256=yqwPOSKIfDsij0LD7VqY3WVk-1lit8gTtMBtJRmjFCE,1980
84
+ pyegeria/egeria_tech_client.py,sha256=SIm1Crh2EzjzmYHxiP-tE3dKJp8UpNkJRppVVsixPlQ,2179
85
+ pyegeria/feedback_manager_omvs.py,sha256=Snd2Vx3OgzGl3JY-ZhcCdg0U9qb1xeiDZXet_WbWWmk,162239
86
+ pyegeria/full_omag_server_config.py,sha256=LFexyOaEsE3GOY2zyUc2rCQcDFPc177BzzWgT7uED7k,46941
87
+ pyegeria/glossary_browser_omvs.py,sha256=LJbQJLhBwU5JJyjt6gQv9iGX0Gx-KmYMH-17hpyFtR0,103177
88
+ pyegeria/glossary_manager_omvs.py,sha256=9ZUEh7Y6roua0QSHk4MUiGtDqOizeCXuIjTPnI_zkVE,129866
89
+ pyegeria/mermaid_utilities.py,sha256=-0u2_rR4QTUU7hDFxNam-T5zRWMJOKSHzbW_2gUgMsM,8251
90
+ pyegeria/my_profile_omvs.py,sha256=ojvIQF4FvxGTfDVn1I4wsnSSBSZ5bpUceZq7oVzBYUE,40824
91
+ pyegeria/platform_services.py,sha256=nwuQxnnuf0bpV4LOTAdvpFUKAIUlqtYeXETMsOzFHRg,41710
92
+ pyegeria/project_manager_omvs.py,sha256=OtTFXjy1E8axtJdd-7cAETS5cy7Dq4qjjA9YqQ5gK1Q,74501
93
+ pyegeria/registered_info.py,sha256=QcOpQUZaM_6sAvdXM09Plxx-tBSJuNq9aD_yoqnL_Zg,6293
94
+ pyegeria/runtime_manager_omvs.py,sha256=pXsywkzAO85WCp1bqskmeG6kLHdAg12xVmjGG2WMq08,35288
95
+ pyegeria/server_operations.py,sha256=mtl3P6D9LdquBrOzvPr1zapDxSJ-97RerPUJn_NiAto,16722
93
96
  pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
94
- pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
95
- pyegeria-0.7.45.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
96
- pyegeria-0.7.45.dist-info/METADATA,sha256=m4_JeEUG9VM73yuYTXhEHrCVV3J0VqJT5IjfIRMkmuI,2818
97
- pyegeria-0.7.45.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
98
- pyegeria-0.7.45.dist-info/entry_points.txt,sha256=5Q9bDxIqPgdhd3lDnzdRSCYy9hZtNm_BL49bcmbBpGQ,3808
99
- pyegeria-0.7.45.dist-info/RECORD,,
97
+ pyegeria/valid_metadata_omvs.py,sha256=3NjdRkcKWQclGcELJIJPtz7RuenjoVWOXazgU70uCrY,36115
98
+ pyegeria-0.8.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
99
+ pyegeria-0.8.0.dist-info/METADATA,sha256=CHLIDL0GoI42avnM_6ZPFVQNXUQ6K9q0cv8DdgDWCrc,2817
100
+ pyegeria-0.8.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
101
+ pyegeria-0.8.0.dist-info/entry_points.txt,sha256=5Q9bDxIqPgdhd3lDnzdRSCYy9hZtNm_BL49bcmbBpGQ,3808
102
+ pyegeria-0.8.0.dist-info/RECORD,,
@@ -1,162 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- SPDX-Lic
4
- ense-Identifier: Apache-2.0
5
- Copyright Contributors to the ODPi Egeria project.
6
-
7
- Unit tests for the Utils helper functions using the Pytest framework.
8
-
9
-
10
- A simple display for archives
11
- """
12
- import argparse
13
- import json
14
- import os
15
- import time, datetime
16
-
17
- from rich import box
18
- from rich import print
19
- from rich.console import Console
20
- from rich.prompt import Prompt
21
- from rich.table import Table
22
-
23
- from pyegeria import (
24
- InvalidParameterException,
25
- PropertyServerException,
26
- UserNotAuthorizedException,
27
- print_exception_response,
28
- )
29
- from pyegeria import ProjectManager, ClassificationManager
30
-
31
- EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
32
- EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
33
- EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
34
- EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
35
- EGERIA_VIEW_SERVER_URL = os.environ.get(
36
- "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
37
- )
38
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
39
- EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
40
- "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
41
- )
42
- EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
43
- EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
44
- EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
45
- EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
46
- EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
47
- EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
48
-
49
-
50
- def display_archive_list(
51
- server: str,
52
- url: str,
53
- username: str,
54
- user_pass: str,
55
- save_output: bool,
56
- jupyter: bool = EGERIA_JUPYTER,
57
- width: int = EGERIA_WIDTH,
58
- ):
59
- c_client = ClassificationManager(server, url, user_id=username)
60
- token = c_client.create_egeria_bearer_token(username, user_pass)
61
-
62
- def generate_table() -> Table:
63
- """Make a new table."""
64
- table = Table(
65
- title=f"Project List: Egeria Archvies @ {time.asctime()}",
66
- header_style="white on dark_blue",
67
- show_lines=True,
68
- box=box.ROUNDED,
69
- caption=f"Archive list for Server '{server}' @ Platform - {url}",
70
- expand=True,
71
- )
72
-
73
- table.add_column("Name")
74
- table.add_column("Path Name")
75
- table.add_column("Creation Date")
76
- # table.add_column("Creator")
77
- # table.add_column("Description")
78
-
79
- open_metadata_type_name = None
80
- property_value = "omarchive"
81
- property_names = ["fileExtension"]
82
- archives = c_client.get_elements_by_property_value(
83
- property_value, property_names, open_metadata_type_name
84
- )
85
-
86
- if type(archives) != list:
87
- raise ValueError("--> No archives found")
88
- else:
89
- sorted_archives = sorted(
90
- archives, key=lambda k: k["properties"].get("name", "---")
91
- )
92
-
93
- for archive in sorted_archives:
94
- name = archive["properties"].get("name", "---")
95
- path_name = archive["properties"].get("pathName", "---")
96
- creation_date_epoch = (
97
- int(archive["properties"].get("storeCreateTime", 0)) / 1000
98
- )
99
- create_date = datetime.datetime.fromtimestamp(creation_date_epoch)
100
- creator = "---"
101
- description = "---"
102
-
103
- table.add_row(
104
- name, path_name, create_date.strftime("%Y-%m-%d %H:%M:%S")
105
- )
106
-
107
- return table
108
-
109
- try:
110
- # with Live(generate_table(), refresh_per_second=4, screen=True) as live:
111
- # while True:
112
- # time.sleep(2)
113
- # live.update(generate_table())
114
- console = Console(
115
- record=True, width=width, force_terminal=not jupyter, soft_wrap=True
116
- )
117
- with console.pager():
118
- console.print(generate_table(), soft_wrap=True)
119
- if save_output:
120
- console.save_html("archives.html")
121
-
122
- except (
123
- InvalidParameterException,
124
- PropertyServerException,
125
- UserNotAuthorizedException,
126
- ValueError,
127
- ) as e:
128
- if type(e) is str:
129
- print(e)
130
- else:
131
- print_exception_response(e)
132
- except KeyboardInterrupt:
133
- pass
134
- finally:
135
- c_client.close_session()
136
-
137
-
138
- def main():
139
- parser = argparse.ArgumentParser()
140
- parser.add_argument("--server", help="Name of the server to display status for")
141
- parser.add_argument("--url", help="URL Platform to connect to")
142
- parser.add_argument("--userid", help="User Id")
143
- parser.add_argument("--save-output", help="Save output to file?")
144
- parser.add_argument("--password", help="User Password")
145
- # parser.add_argument("--sponsor", help="Name of sponsor to search")
146
- args = parser.parse_args()
147
-
148
- server = args.server if args.server is not None else EGERIA_VIEW_SERVER
149
- url = args.url if args.url is not None else EGERIA_PLATFORM_URL
150
- userid = args.userid if args.userid is not None else EGERIA_USER
151
- user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
152
-
153
- try:
154
- save_output = args.save_output if args.save_output is not None else False
155
- display_archive_list(server, url, userid, user_pass, save_output)
156
-
157
- except KeyboardInterrupt:
158
- pass
159
-
160
-
161
- if __name__ == "__main__":
162
- main()
@@ -1,79 +0,0 @@
1
- global template_guids, integration_guids
2
- TEMPLATE_GUIDS['CSV Data File'] = '13770f93-13c8-42be-9bb8-e0b1b1e52b1f'
3
- TEMPLATE_GUIDS['Keystore File'] = 'fbcfcc0c-1652-421f-b49b-c3e1c108768f'
4
- TEMPLATE_GUIDS['Unity Catalog Server'] = 'dcca9788-b30f-4007-b1ac-ec634aff6879'
5
- INTEGRATION_GUIDS['UnityCatalogInsideCatalog'] = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
6
- INTEGRATION_GUIDS['UnityCatalogServer'] = '06d068d9-9e08-4e67-8c59-073bbf1013af'
7
- INTEGRATION_GUIDS['JDBC'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
8
- TEMPLATE_GUIDS['Data File'] = '66d8dda9-00cf-4e59-938c-4b0583596b1e'
9
- TEMPLATE_GUIDS['View Server'] = 'fd61ca01-390d-4aa2-a55d-426826aa4e1b'
10
- TEMPLATE_GUIDS['Archive File'] = '7578e504-d00f-406d-a194-3fc0a351cdf9'
11
- TEMPLATE_GUIDS['Unity Catalog Catalog'] = '5ee006aa-a6d6-411b-9b8d-5f720c079cae'
12
- TEMPLATE_GUIDS['PostgreSQL Relational Database'] = '3d398b3f-7ae6-4713-952a-409f3dea8520'
13
- INTEGRATION_GUIDS['JDBC'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
14
- TEMPLATE_GUIDS['Program File'] = '32d27e9c-1fdf-455a-ad2a-42b4d7d99108'
15
- TEMPLATE_GUIDS['FileFolder'] = 'fbdd8efd-1b69-474c-bb6d-0a304b394146'
16
- INTEGRATION_GUIDS['ContentPacksMonitor'] = '6bb2181e-7724-4515-ba3c-877cded55980'
17
- INTEGRATION_GUIDS['GeneralFilesMonitor'] = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
18
- INTEGRATION_GUIDS['SampleDataFilesMonitor'] = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
19
- INTEGRATION_GUIDS['OpenLineageFilePublisher'] = '6271b678-7d22-4cdf-87b1-45b366beaf4e'
20
- TEMPLATE_GUIDS['JDBC Endpoint'] = '3d79ce50-1887-4627-ad71-ba4649aba2bc'
21
- TEMPLATE_GUIDS['PostgreSQL Server'] = '542134e6-b9ce-4dce-8aef-22e8daf34fdb'
22
- INTEGRATION_GUIDS['PostgreSQLServer'] = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
23
- TEMPLATE_GUIDS['Audio Data File'] = '39b4b670-7f15-4744-a5ba-62e8edafbcee'
24
- TEMPLATE_GUIDS['Document File'] = 'eb6f728d-fa54-4350-9807-1199cbf96851'
25
- TEMPLATE_GUIDS['Integration Daemon'] = '6b3516f0-dd13-4786-9601-07215f995197'
26
- TEMPLATE_GUIDS['XML Data File'] = 'ea67ae71-c674-473e-b38b-689879d2a7d9'
27
- TEMPLATE_GUIDS['REST API Endpoint'] = '9ea4bff4-d193-492f-bcad-6e68c07c6f9e'
28
- TEMPLATE_GUIDS['Unity Catalog Schema'] = '5bf92b0f-3970-41ea-b0a3-aacfbf6fd92e'
29
- TEMPLATE_GUIDS['Parquet Data File'] = '7f6cd744-79c3-4d25-a056-eeb1a91574c3'
30
- TEMPLATE_GUIDS['3D Image Data File'] = '0059ea2b-6292-4cac-aa6f-a80a605f1114'
31
- TEMPLATE_GUIDS['YAML File'] = '2221855b-2b64-4b45-a2ee-c40adc5e2a64'
32
- TEMPLATE_GUIDS['Metadata Access Server'] = 'bd8de890-fa79-4c24-aab8-20b41b5893dd'
33
- TEMPLATE_GUIDS['Properties File'] = '3b281111-a0ef-4fc4-99e7-9a0ef84a7636'
34
- TEMPLATE_GUIDS['Vector Data File'] = 'db1bec7f-55a9-40d3-91c0-a57b76d422e2'
35
- TEMPLATE_GUIDS['Apache Kafka Server'] = '5e1ff810-5418-43f7-b7c4-e6e062f9aff7'
36
- INTEGRATION_GUIDS['KafkaTopic'] = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
37
- TEMPLATE_GUIDS['Executable File'] = '3d99a163-7a13-4576-a212-784010a8302a'
38
- INTEGRATION_GUIDS['OpenLineageAPIPublisher'] = '2156bc98-973a-4859-908d-4ccc96f53cc5'
39
- TEMPLATE_GUIDS['Unity Catalog Table'] = '6cc1e5f5-4c1e-4290-a80e-e06643ffb13d'
40
- TEMPLATE_GUIDS['JSON Data File'] = 'c4836635-7e9e-446a-83b5-15e206b1aff3'
41
- TEMPLATE_GUIDS['File System'] = '522f228c-097c-4f90-9efc-26c1f2696f87'
42
- TEMPLATE_GUIDS['Source Code File'] = '9c7013ef-f29b-4b01-a8ea-5ea14f64c67a'
43
- TEMPLATE_GUIDS['Apple MacBook Pro'] = '32a9fd56-85c9-47fe-a211-9da3871bf4da'
44
- TEMPLATE_GUIDS['Build Instruction File'] = 'fbb2fa2e-8bcb-402e-9be7-5c6db9f2c504'
45
- TEMPLATE_GUIDS['Spreadsheet Data File'] = 'e4fabff5-2ba9-4050-9076-6ed917970b4c'
46
- TEMPLATE_GUIDS['UNIX File System'] = '27117270-8667-41d0-a99a-9118f9b60199'
47
- TEMPLATE_GUIDS['Video Data File'] = '93b2b722-ec0f-4da4-960a-b8d4922f8bf5'
48
- TEMPLATE_GUIDS['Unity Catalog Function'] = 'a490ba65-6104-4213-9be9-524e16fed8aa'
49
- TEMPLATE_GUIDS['PostgreSQL Relational Database Schema'] = '82a5417c-d882-4271-8444-4c6a996a8bfc'
50
- TEMPLATE_GUIDS['Engine Host'] = '1764a891-4234-45f1-8cc3-536af40c790d'
51
- TEMPLATE_GUIDS['Avro Data File'] = '9f5be428-058e-41dd-b506-3a222283b579'
52
- TEMPLATE_GUIDS['Unity Catalog Volume'] = '92d2d2dc-0798-41f0-9512-b10548d312b7'
53
- TEMPLATE_GUIDS['File'] = 'ae3067c7-cc72-4a18-88e1-746803c2c86f'
54
- TEMPLATE_GUIDS['Apache Kafka Topic'] = 'ea8f81c9-c59c-47de-9525-7cc59d1251e5'
55
- TEMPLATE_GUIDS['Script File'] = 'dbd5e6bb-1ff8-46f4-a007-fb0485f68c92'
56
- TEMPLATE_GUIDS['Apache Atlas Server'] = 'fe6dce45-a978-4417-ab55-17f05b8bcea7'
57
- TEMPLATE_GUIDS['Raster Data File'] = '47211156-f03f-4881-8526-015e695a3dac'
58
- TEMPLATE_GUIDS['Data Folder'] = '372a0379-7060-4c9d-8d84-bc709b31794c'
59
- INTEGRATION_GUIDS['MaintainDataFolderLastUpdateDate'] = 'fd26f07c-ae44-4bc5-b457-37b43112224f'
60
- INTEGRATION_GUIDS['OpenLineageFilePublisher'] = '6271b678-7d22-4cdf-87b1-45b366beaf4e'
61
- TEMPLATE_GUIDS['OMAG Server Platform'] = '9b06c4dc-ddc8-47ae-b56b-28775d3a96f0'
62
- INTEGRATION_GUIDS['OpenAPI'] = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
63
- INTEGRATION_GUIDS['OMAGServerPlatform'] = 'dee84e6e-7a96-4975-86c1-152fb3ab759b'
64
- INTEGRATION_GUIDS['PostgreSQLServerCataloguer'] = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
65
- INTEGRATION_GUIDS['UnityCatalogInsideCatalogSynchronizer'] = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
66
- INTEGRATION_GUIDS['OpenLineageAPIPublisher'] = '2156bc98-973a-4859-908d-4ccc96f53cc5'
67
- INTEGRATION_GUIDS['JDBCDatabaseCataloguer'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
68
- INTEGRATION_GUIDS['FilesCataloguer'] = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
69
- INTEGRATION_GUIDS['SampleDataCataloguer'] = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
70
- INTEGRATION_GUIDS['OpenLineageGovernanceActionPublisher'] = '206f8faf-04da-4b6f-8280-eeee3943afeb'
71
- INTEGRATION_GUIDS['OpenAPICataloguer'] = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
72
- INTEGRATION_GUIDS['OMAGServerPlatformCataloguer'] = 'dee84e6e-7a96-4975-86c1-152fb3ab759b'
73
- INTEGRATION_GUIDS['ApacheKafkaCataloguer'] = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
74
- INTEGRATION_GUIDS['UnityCatalogServerSynchronizer'] = '06d068d9-9e08-4e67-8c59-073bbf1013af'
75
- INTEGRATION_GUIDS['MaintainLastUpdateDate'] = 'fd26f07c-ae44-4bc5-b457-37b43112224f'
76
- INTEGRATION_GUIDS['OpenLineageKafkaListener'] = '980b989c-de78-4e6a-a58d-51049d7381bf'
77
- INTEGRATION_GUIDS['OpenLineageFilePublisher'] = '6271b678-7d22-4cdf-87b1-45b366beaf4e'
78
- INTEGRATION_GUIDS['ContentPacksCataloguer'] = '6bb2181e-7724-4515-ba3c-877cded55980'
79
- INTEGRATION_GUIDS['OpenLineageCataloguer'] = '3347ac71-8dd2-403a-bc16-75a71be64bd7'