pyegeria 0.6.2__py3-none-any.whl → 0.6.4__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 (54) hide show
  1. examples/widgets/{catalog_user → cat}/list_projects.py +3 -0
  2. examples/widgets/cli/__init__.py +12 -0
  3. examples/widgets/cli/egeria.py +45 -45
  4. examples/widgets/cli/egeria_cat.py +9 -9
  5. examples/widgets/cli/{egeria_per.py → egeria_my.py} +4 -4
  6. examples/widgets/cli/egeria_ops.py +13 -13
  7. examples/widgets/cli/egeria_tech.py +3 -3
  8. examples/widgets/cli/ops_config.py +2 -0
  9. examples/widgets/{operational → ops}/monitor_engine_activity.py +14 -3
  10. pyegeria/__init__.py +4 -2
  11. pyegeria/_globals.py +1 -0
  12. pyegeria/asset_catalog_omvs.py +24 -29
  13. pyegeria/classification_manager_omvs.py +1830 -0
  14. pyegeria/feedback_manager_omvs.py +4806 -0
  15. {pyegeria-0.6.2.dist-info → pyegeria-0.6.4.dist-info}/METADATA +3 -1
  16. pyegeria-0.6.4.dist-info/RECORD +83 -0
  17. pyegeria-0.6.4.dist-info/entry_points.txt +42 -0
  18. pyegeria/Xfeedback_manager_omvs.py +0 -238
  19. pyegeria-0.6.2.dist-info/RECORD +0 -82
  20. pyegeria-0.6.2.dist-info/entry_points.txt +0 -42
  21. /examples/widgets/{catalog_user → cat}/README.md +0 -0
  22. /examples/widgets/{catalog_user → cat}/__init__.py +0 -0
  23. /examples/widgets/{catalog_user → cat}/get_asset_graph.py +0 -0
  24. /examples/widgets/{catalog_user → cat}/get_collection.py +0 -0
  25. /examples/widgets/{catalog_user → cat}/get_tech_type_elements.py +0 -0
  26. /examples/widgets/{catalog_user → cat}/get_tech_type_template.py +0 -0
  27. /examples/widgets/{catalog_user → cat}/list_assets.py +0 -0
  28. /examples/widgets/{catalog_user → cat}/list_glossary.py +0 -0
  29. /examples/widgets/{catalog_user → cat}/list_tech_types.py +0 -0
  30. /examples/widgets/{catalog_user → cat}/list_todos.py +0 -0
  31. /examples/widgets/{personal → my}/README.md +0 -0
  32. /examples/widgets/{personal → my}/__init__.py +0 -0
  33. /examples/widgets/{personal → my}/list_my_profile.py +0 -0
  34. /examples/widgets/{personal → my}/list_my_roles.py +0 -0
  35. /examples/widgets/{personal → my}/monitor_my_todos.py +0 -0
  36. /examples/widgets/{personal → my}/monitor_open_todos.py +0 -0
  37. /examples/widgets/{personal → my}/my_profile_actions.py +0 -0
  38. /examples/widgets/{operational → ops}/README.md +0 -0
  39. /examples/widgets/{operational → ops}/__init__.py +0 -0
  40. /examples/widgets/{operational → ops}/engine_actions.py +0 -0
  41. /examples/widgets/{operational → ops}/integration_daemon_actions.py +0 -0
  42. /examples/widgets/{operational → ops}/list_catalog_targets.py +0 -0
  43. /examples/widgets/{operational → ops}/load_archive.py +0 -0
  44. /examples/widgets/{operational → ops}/monitor_asset_events.py +0 -0
  45. /examples/widgets/{operational → ops}/monitor_coco_status.py +0 -0
  46. /examples/widgets/{operational → ops}/monitor_gov_eng_status.py +0 -0
  47. /examples/widgets/{operational → ops}/monitor_integ_daemon_status.py +0 -0
  48. /examples/widgets/{operational → ops}/monitor_platform_status.py +0 -0
  49. /examples/widgets/{operational → ops}/monitor_server_list.py +0 -0
  50. /examples/widgets/{operational → ops}/monitor_server_status.py +0 -0
  51. /examples/widgets/{operational → ops}/refresh_integration_daemon.py +0 -0
  52. /examples/widgets/{operational → ops}/restart_integration_daemon.py +0 -0
  53. {pyegeria-0.6.2.dist-info → pyegeria-0.6.4.dist-info}/LICENSE +0 -0
  54. {pyegeria-0.6.2.dist-info → pyegeria-0.6.4.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -21,6 +21,8 @@ Requires-Dist: jupyter (>=1.0.0,<2.0.0)
21
21
  Requires-Dist: pytest (>=8.2.2,<9.0.0)
22
22
  Requires-Dist: requests (>=2.32.3,<3.0.0)
23
23
  Requires-Dist: rich (>=13.7.1,<14.0.0)
24
+ Requires-Dist: textual (>=0.75.1,<0.76.0)
25
+ Requires-Dist: textual-forms (>=0.3.0,<0.4.0)
24
26
  Requires-Dist: trogon (>=0.5.0,<0.6.0)
25
27
  Requires-Dist: urllib3 (>=2.2.2,<3.0.0)
26
28
  Requires-Dist: validators (>=0.32.0,<0.33.0)
@@ -0,0 +1,83 @@
1
+ examples/doc_samples/Create_Collection_Sample.py,sha256=D8nhc4qLXIzAqVdJQjmFIS-jL6FzmYCMZyEviXnUbvg,11874
2
+ examples/doc_samples/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRLi42Gayyb-wcWZ5NySQ6sc4kVSmwIAzP2Po,5049
3
+ examples/widgets/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqRY,967
4
+ examples/widgets/cat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ examples/widgets/cat/get_asset_graph.py,sha256=Q23n_svJBii58hgaMPLpliN8wqKl4yhnhCCk2IU2nvM,11168
6
+ examples/widgets/cat/get_collection.py,sha256=DBZ5-XkoYsz4WmMSPz0Ao0wz3DlAUQve89KI26-44nc,4613
7
+ examples/widgets/cat/get_tech_type_elements.py,sha256=SvnDWfBIA1NzpkKZj4-ZapIeM2SEhe5jJt7rTkvTzaA,6129
8
+ examples/widgets/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
9
+ examples/widgets/cat/list_assets.py,sha256=imVun2GB3zoEjaQxKJVGcalI7yZv5Dg_ksb7tYCIVLE,6476
10
+ examples/widgets/cat/list_glossary.py,sha256=zljSzVKYysFZVmVhHJt0fYFDmAG9azIphOs4MOIfA7g,5395
11
+ examples/widgets/cat/list_projects.py,sha256=pFXjP_OjfLqR0hQuJl90u8Y7T0Z0YdVZazrcUwPVGaE,6510
12
+ examples/widgets/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
13
+ examples/widgets/cat/list_todos.py,sha256=wD9HevGcc4G_bxV25VUz1rRssdZHE33mF5zmJ6Lprt8,5522
14
+ examples/widgets/cli/__init__.py,sha256=6d_R0KZBNnJy9EBz9J2xvGFlx-3j_ZPqPCxKgdvYeDQ,291
15
+ examples/widgets/cli/egeria.py,sha256=jZtQeE9Yzp16t0q6PNAB0LYVoVN6tlSzUvByoCaNR7s,21850
16
+ examples/widgets/cli/egeria_cat.py,sha256=JRLQB0pbYmPYzjlJb_rJAzdZy7-2NWzEH_v-ImKdkKY,9246
17
+ examples/widgets/cli/egeria_my.py,sha256=xi2j1hzNnjDruJeR1qa8K9JPDgzaL_COsMkcieT4Vo8,5653
18
+ examples/widgets/cli/egeria_ops.py,sha256=ZOIQdpRZ5VgL282OpjNVmXvxxmmVxnOaEGF0sNIpzF0,10011
19
+ examples/widgets/cli/egeria_tech.py,sha256=C7eooVyjHTYwA-aEEaeqJgDgJRdmiK0M3dca70bNZYQ,8901
20
+ examples/widgets/cli/ops_config.py,sha256=m4AfPjf-fR4EBTx8Dc2mcgrfWwAxb30YGeV-v79bg4U,1450
21
+ examples/widgets/my/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
22
+ examples/widgets/my/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ examples/widgets/my/list_my_profile.py,sha256=WERjdQTCGhs8yz7Xa8xKlKRY1eJvB2Iz79lYJjB2h1U,5423
24
+ examples/widgets/my/list_my_roles.py,sha256=DCiNdnoHXQueUE5g73D3oRXfJ6LaUQGbibNtDRdicR8,5078
25
+ examples/widgets/my/monitor_my_todos.py,sha256=2INaUuKE5obKysoGzJLPUpc-oRJvQsx8_qoGtv_eBDI,6405
26
+ examples/widgets/my/monitor_open_todos.py,sha256=DIeWC-2tN1EtmgC2rWJfsGMVQhtNcngobJ8paBiXXBI,5396
27
+ examples/widgets/my/my_profile_actions.py,sha256=SrlC0PSix0b78MCWJdGJAVgai8gbJmYyz1ou2ZVOkIs,3949
28
+ examples/widgets/ops/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
29
+ examples/widgets/ops/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
30
+ examples/widgets/ops/engine_actions.py,sha256=tvBhUs97OC3Q0FGSUVRskL9Q61c6NrLiNjdSH_04b_g,1444
31
+ examples/widgets/ops/integration_daemon_actions.py,sha256=m17Oi8NJfs1qPaV6qRadse3HhLQT16FQA0jAIUYuCTk,3951
32
+ examples/widgets/ops/list_catalog_targets.py,sha256=H0Igj_s7nhAV0vJUb0Np7DlJtAz36avljLBCuxt4p7Y,6609
33
+ examples/widgets/ops/load_archive.py,sha256=duf3wq2ANRBiOj9KTFsw8TseEkJLKdzITAeTCjsMvI0,2453
34
+ examples/widgets/ops/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDXefPBnllaZLelGls,3838
35
+ examples/widgets/ops/monitor_coco_status.py,sha256=ERz3OJ0TXImNKHGD4gJvgT3pl2gS23ewAdUuYVLUhEE,3299
36
+ examples/widgets/ops/monitor_engine_activity.py,sha256=Q86OwJmqqVKJXACdZ2q8qyEcTy7K3N6Zhv6dCPmuwaU,7869
37
+ examples/widgets/ops/monitor_gov_eng_status.py,sha256=cVRtA1Ub9uGf4fic1FnMwmzCwNEnU7joCqsjsiAZ7bg,5912
38
+ examples/widgets/ops/monitor_integ_daemon_status.py,sha256=E3HO6ZCAv4CBZFHhxqpa7brRG3jfw3ZubwUkRfRySwo,8766
39
+ examples/widgets/ops/monitor_platform_status.py,sha256=mgEeRjv2mIRBUxusHqeQGeoOp8Ehlk2IX-t3qtLKFqs,6123
40
+ examples/widgets/ops/monitor_server_list.py,sha256=eHSeM5dW7Wyjp2zR_AD6_FalFnZ2dBaZKxtob2kva9I,4483
41
+ examples/widgets/ops/monitor_server_status.py,sha256=A-8hMDfbscdcq-b1OD4wKn0tphumX8WIK-Hz8uPoFkc,3974
42
+ examples/widgets/ops/refresh_integration_daemon.py,sha256=QDB3dpAlLY8PhrGhAZG4tWKzx_1R0bOOM048N68RQ4w,2712
43
+ examples/widgets/ops/restart_integration_daemon.py,sha256=fID7qGFL5RD6rfn9PgXf5kwI4MU0Ho_IGXnDVbKT5nU,2710
44
+ examples/widgets/tech/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
45
+ examples/widgets/tech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ examples/widgets/tech/get_guid_info.py,sha256=TSB6tUr2kJH5sIUc2TfGDPEi6ysb9c6TQ-Tp4sg0iyY,3945
47
+ examples/widgets/tech/get_tech_details.py,sha256=b7i3kSTaZ2pZPcxkDccqY27bqeHJoYnPCxOvlKPH0hw,5753
48
+ examples/widgets/tech/list_asset_types.py,sha256=PHPtCXqCHhIw0K59hUvoKdybp6IKPt_9Wc0AJVDtdrg,4181
49
+ examples/widgets/tech/list_registered_services.py,sha256=TqZbT54vMGvHUAX_bovCce3A3eV_RbjSEtPP6u6ZJV0,6388
50
+ examples/widgets/tech/list_relationship_types.py,sha256=0T8Sl7J3WFq_0IQLLzcL0T79pUxVENWNT95Cpjz2ukc,5633
51
+ examples/widgets/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5ECkDJMN9QVNReC1M,6192
52
+ examples/widgets/tech/list_valid_metadata_values.py,sha256=64z5tr-0VD-mPTFmr6FT76gj4MXJZLWTxT4oeIiUaiU,6043
53
+ pyegeria/Xloaded_resources_omvs.py,sha256=cseWZTIwNhkzhZ0fhujI66DslNAQcjuwsz_p1GRmSPQ,3392
54
+ pyegeria/__init__.py,sha256=RNkQeblUJGmnCY7U8l8xMhivpVzMcXRBafxDAzxG6Lc,7714
55
+ pyegeria/_client.py,sha256=mTK3qqaxwrwn4OiIKZkSkMVEsHPJsHxKmfz1LK_FgEg,26308
56
+ pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
57
+ pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
58
+ pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
59
+ pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
60
+ pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
61
+ pyegeria/asset_catalog_omvs.py,sha256=Rlr0RxdJlU6MaapPMGxjqlIqdo46TzNShwx66lTJZvo,25631
62
+ pyegeria/automated_curation_omvs.py,sha256=7mBOXnq06zf1TB3vzo2FPUw2GRLZKKYT2MDQkPxDokk,121332
63
+ pyegeria/classification_manager_omvs.py,sha256=LIrzw7_Ff5gmyeWPR4ClATPgn3PSE2v2Im4gC8L0l-w,86002
64
+ pyegeria/collection_manager_omvs.py,sha256=aGtzC3P8_YgY2KEzhtO19_H9drStE0hW5hUj-dA7bLo,112649
65
+ pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
66
+ pyegeria/create_tech_guid_lists.py,sha256=jClpvURy20o4UV83LOwhGg3TZdHGzfjZ9y0MNZyG2To,4282
67
+ pyegeria/feedback_manager_omvs.py,sha256=iDTT-wj1qf-xX9yy2V8eMezR5fDwowv9bQUH4sJofPo,164575
68
+ pyegeria/full_omag_server_config.py,sha256=l4G0oM6l-axosYACypqNqzkF6wELzs9FgKJwvDMF0Fc,45817
69
+ pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
70
+ pyegeria/glossary_manager_omvs.py,sha256=AyTNBeOwa7ISOkpjzHHEtpiFzFo0ykcEQ525h_wqfMM,133328
71
+ pyegeria/my_profile_omvs.py,sha256=2v692PIwNc0RlLYElpTXymPHtf8JyNDlJeDXJ6mLa08,42250
72
+ pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I,41808
73
+ pyegeria/project_manager_omvs.py,sha256=_U6m2vquu4eEV7aY8X3hsvfm2zX0EBica1reGWX9amY,77078
74
+ pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
75
+ pyegeria/runtime_manager_omvs.py,sha256=oSVFeG_yBGXIvQR0EClLZqTZ6C5z5ReZzwm8cce854U,37658
76
+ pyegeria/server_operations.py,sha256=ZX7FlJRrAC7RK4bq4wHWepEsYbbWlqkUZdsJrTplVVU,16534
77
+ pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
78
+ pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
79
+ pyegeria-0.6.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
80
+ pyegeria-0.6.4.dist-info/METADATA,sha256=0MjuQgAF2P8S0TonF0zw01gDKvQT9NAG1M_gx37rfZQ,2774
81
+ pyegeria-0.6.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
82
+ pyegeria-0.6.4.dist-info/entry_points.txt,sha256=Up_rwJL9Rnmsp4Lp5433ctUMb6qR9uTQc7e5tVkcXFg,2599
83
+ pyegeria-0.6.4.dist-info/RECORD,,
@@ -0,0 +1,42 @@
1
+ [console_scripts]
2
+ egeria_cat=examples.widgets.cli.egeria_cat:cli
3
+ egeria_ops=examples.widgets.cli.egeria_ops:cli
4
+ egeria_per=examples.widgets.cli.egeria_per:cli
5
+ egeria_tech=examples.widgets.cli.egeria_cat:cli
6
+ get_asset_graph=examples.widgets.cat.get_asset_graph:main
7
+ get_collection=examples.widgets.cat.get_collection:main
8
+ get_guid_info=examples.widgets.tech.get_guid_info:main
9
+ get_tech_details=examples.widgets.tech.get_tech_details:main
10
+ get_tech_type_elements=examples.widgets.cat.get_tech_type_elements:main
11
+ get_tech_type_template=examples.widgets.cat.get_tech_type_template:main
12
+ hey_egeria=examples.widgets.cli.egeria:cli
13
+ list_asset_types=examples.widgets.tech.list_asset_types:main
14
+ list_assets=examples.widgets.cat.list_assets:main
15
+ list_catalog_targets=examples.widgets.ops.list_catalog_targets:main
16
+ list_engine_activity=examples.widgets.ops.monitor_engine_activity:main_paging
17
+ list_glossary=examples.widgets.cat.list_glossary:main
18
+ list_gov_eng_status=examples.widgets.ops.monitor_gov_eng_status:main_paging
19
+ list_integ_daemon_status=examples.widgets.ops.monitor_integ_daemon_status:main_paging
20
+ list_my_profile=examples.widgets.my.list_my_profile:main
21
+ list_projects=examples.widgets.cat.list_projects:main
22
+ list_registered_services=examples.widgets.tech.list_registered_services:main
23
+ list_relationship_types=examples.widgets.tech.list_relationship_types:main
24
+ list_tech_templates=examples.widgets.tech.list_tech_templates:main
25
+ list_tech_types=examples.widgets.cat.list_tech_types:main
26
+ list_todos=examples.widgets.cat.list_todos:main
27
+ list_valid_metadata_values=examples.widgets.tech.list_valid_metadata_values:main
28
+ load_archive=examples.widgets.ops.load_archive:load_archive
29
+ load_archive_tui=examples.widgets.ops.load_archive:tui
30
+ monitor_asset_events=examples.widgets.ops.monitor_asset_events:main
31
+ monitor_coco_status=examples.widgets.ops.monitor_coco_status:main
32
+ monitor_engine_activity=examples.widgets.ops.monitor_engine_activity:main_live
33
+ monitor_gov_eng_status=examples.widgets.ops.monitor_gov_eng_status:main_live
34
+ monitor_integ_daemon_status=examples.widgets.ops.monitor_integ_daemon_status:main_live
35
+ monitor_my_todos=examples.widgets.my.monitor_my_todos:main
36
+ monitor_open_todos=examples.widgets.my.monitor_open_todos:main
37
+ monitor_platform_status=examples.widgets.ops.monitor_platform_status:main
38
+ monitor_server_list=examples.widgets.ops.monitor_server_list:main
39
+ monitor_server_status=examples.widgets.ops.monitor_server_status:main
40
+ refresh_integration_daemon=examples.widgets.ops.refresh_integration_daemon:main
41
+ restart_integration_daemon=examples.widgets.ops.restart_integration_daemon:main
42
+
@@ -1,238 +0,0 @@
1
- """
2
- SPDX-License-Identifier: Apache-2.0
3
- Copyright Contributors to the ODPi Egeria project.
4
-
5
- Feedback Manager View Service Methods - Add comments, reviews, tags and notes to elements of interest.
6
-
7
- This work is being actively developed..
8
-
9
- """
10
- import asyncio
11
- from datetime import datetime
12
-
13
- from httpx import Response
14
-
15
- from pyegeria import Client, max_paging_size, body_slimmer
16
- from pyegeria._exceptions import (
17
- InvalidParameterException,
18
- )
19
- from ._validators import validate_name, validate_guid, validate_search_string
20
-
21
-
22
- class FeedbackManager(Client):
23
- """ Set up and maintain automation services in Egeria.
24
-
25
- Attributes:
26
- server_name : str
27
- The name of the View Server to use.
28
- platform_url : str
29
- URL of the server platform to connect to
30
- user_id : str
31
- The identity of the user calling the method - this sets a default optionally used by the methods
32
- when the user doesn't pass the user_id on a method call.
33
- user_pwd: str
34
- The password associated with the user_id. Defaults to None
35
- verify_flag: bool
36
- Flag to indicate if SSL Certificates should be verified in the HTTP requests.
37
- Defaults to False.
38
-
39
- """
40
-
41
- def __init__(
42
- self,
43
- server_name: str,
44
- platform_url: str,
45
- user_id: str,
46
- user_pwd: str = None,
47
- verify_flag: bool = False,
48
- ):
49
- Client.__init__(self, server_name, platform_url, user_id, user_pwd, verify_flag)
50
- self.cur_command_root = f"{platform_url}/servers/"
51
-
52
-
53
- async def _async_get_comment_by_guid(self, comment_guid: str, view_server: str, server: str = None,
54
- access_service: str = 'asset-manager',for_lineage: bool = False,
55
- for_duplicate_processing: bool = False, effective_time: str = None) -> dict:
56
- """ Create a new metadata element from a template. Async version.
57
- Parameters
58
- ----------
59
- body : str
60
- The json body used to instantiate the template.
61
- server : str, optional
62
- The name of the view server to use. If not provided, the default server name will be used.
63
-
64
- Returns
65
- -------
66
- Response
67
- The guid of the resulting element
68
-
69
- Raises
70
- ------
71
- InvalidParameterException
72
- PropertyServerException
73
- UserNotAuthorizedException
74
-
75
- Notes
76
- -----
77
-
78
- """
79
-
80
- server = self.server_name if server is None else server
81
-
82
- url = f"{self.platform_url}/servers/{server}/api/open-metadata/automated-curation/catalog-templates/new-element"
83
- response = await self._async_make_request("POST", url)
84
- return response.json().get("guid", "GUID failed to be returned")
85
-
86
- def get_comment_by_guid(self, comment_guid: str, view_server: str, server: str = None,
87
- access_service: str = 'asset-manager',for_lineage: bool = False,
88
- for_duplicate_processing: bool = False, effective_time: str = None) -> dict:
89
- """ Create a new metadata element from a template. Async version.
90
- Parameters
91
- ----------
92
- body : str
93
- The json body used to instantiate the template.
94
- server : str, optional
95
- The name of the view server to use. If not provided, the default server name will be used.
96
-
97
- Returns
98
- -------
99
- Response
100
- The guid of the resulting element
101
-
102
- Raises
103
- ------
104
- InvalidParameterException
105
- PropertyServerException
106
- UserNotAuthorizedException
107
-
108
- Notes
109
- -----
110
- See also: https://egeria-project.org/features/templated-cataloguing/overview/
111
- The full description of the body is shown below:
112
- {
113
- "typeName" : "",
114
- "initialStatus" : "",
115
- "initialClassifications" : "",
116
- "anchorGUID" : "",
117
- "isOwnAnchor" : "",
118
- "effectiveFrom" : "",
119
- "effectiveTo" : "",
120
- "templateGUID" : "",
121
- "templateProperties" : {},
122
- "placeholderPropertyValues" : {
123
- "placeholderPropertyName1" : "placeholderPropertyValue1",
124
- "placeholderPropertyName2" : "placeholderPropertyValue2"
125
- },
126
- "parentGUID" : "",
127
- "parentRelationshipTypeName" : "",
128
- "parentRelationshipProperties" : "",
129
- "parentAtEnd1" : "",
130
- "effectiveTime" : ""
131
- }
132
- """
133
- loop = asyncio.get_event_loop()
134
- response = loop.run_until_complete(
135
- self._async_get_comment_by_guid(comment_guid, view_server,server,access_service,
136
- for_lineage,for_duplicate_processing,effective_time)
137
- )
138
- return response
139
-
140
- async def _async_add_comment_to_reply(self, comment_guid: str, view_server: str, comment: str, server: str = None,
141
- access_service: str = 'asset-manager', is_public: bool = False,
142
- for_lineage: bool = False, for_duplicate_processing: bool = False,
143
- effective_time: str = None) -> str:
144
- """ Add a reply to a comment. Async version.
145
- See also: https://egeria-project.org/patterns/metadata-manager/overview/#asset-feedback
146
-
147
- Parameters
148
- ----------
149
- comment_guid : str
150
- The GUID of the comment.
151
- view_server : str
152
- The server where the view is hosted.
153
- comment : str
154
- The text to add as the reply.
155
- server : str, optional
156
- The server to connect to. Default is None.
157
- access_service : str, optional
158
- The access service to use. Default is 'asset-manager'.
159
- is_public : bool, optional
160
- Determines if the comment is public. Default is False.
161
- for_lineage : bool, optional
162
- Determines if the comment is for lineage. Default is False.
163
- for_duplicate_processing : bool, optional
164
- Determines if the comment is for duplicate processing. Default is False.
165
- effective_time : str, optional
166
- The effective time for the comment. Default is None.
167
-
168
- Returns
169
- -------
170
- str
171
- The unique identifier (guid) of the new comment.
172
-
173
- Raises
174
- ------
175
- InvalidParameterException
176
- PropertyServerException
177
- UserNotAuthorizedException
178
-
179
- """
180
-
181
- url = f"{self.cur_command_root}api/open-metadata/feedback-manager/comments/{comment_guid}/replies"
182
- body = {
183
- 'parentGUID': comment_guid,
184
- 'effectiveTime': effective_time,
185
- 'updateDescription': comment
186
- }
187
-
188
- response = await self._async_make_request("POST",url,body)
189
- return response
190
-
191
- def add_comment_to_reply(self, comment_guid: str, view_server: str, comment: str, server: str = None,
192
- access_service: str = 'asset-manager', is_public: bool = False,
193
- for_lineage: bool = False, for_duplicate_processing: bool = False,
194
- effective_time: str = None) -> str:
195
- """ Add a reply to a comment. Async version.
196
- See also: https://egeria-project.org/patterns/metadata-manager/overview/#asset-feedback
197
-
198
- Parameters
199
- ----------
200
- comment_guid : str
201
- The GUID of the comment.
202
- view_server : str
203
- The server where the view is hosted.
204
- comment : str
205
- The text to add as the reply.
206
- server : str, optional
207
- The server to connect to. Default is None.
208
- access_service : str, optional
209
- The access service to use. Default is 'asset-manager'.
210
- is_public : bool, optional
211
- Determines if the comment is public. Default is False.
212
- for_lineage : bool, optional
213
- Determines if the comment is for lineage. Default is False.
214
- for_duplicate_processing : bool, optional
215
- Determines if the comment is for duplicate processing. Default is False.
216
- effective_time : str, optional
217
- The effective time for the comment. Default is None.
218
-
219
- Returns
220
- -------
221
- str
222
- The unique identifier (guid) of the new comment.
223
-
224
- Raises
225
- ------
226
- InvalidParameterException
227
- PropertyServerException
228
- UserNotAuthorizedException
229
-
230
- """
231
- loop = asyncio.get_event_loop()
232
- response = loop.run_until_complete(
233
- self._async_add_comment_to_reply(comment_guid, view_server, comment,
234
- server, access_service, is_public,)
235
- )
236
- return response
237
-
238
-
@@ -1,82 +0,0 @@
1
- examples/doc_samples/Create_Collection_Sample.py,sha256=D8nhc4qLXIzAqVdJQjmFIS-jL6FzmYCMZyEviXnUbvg,11874
2
- examples/doc_samples/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRLi42Gayyb-wcWZ5NySQ6sc4kVSmwIAzP2Po,5049
3
- examples/widgets/catalog_user/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqRY,967
4
- examples/widgets/catalog_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- examples/widgets/catalog_user/get_asset_graph.py,sha256=Q23n_svJBii58hgaMPLpliN8wqKl4yhnhCCk2IU2nvM,11168
6
- examples/widgets/catalog_user/get_collection.py,sha256=DBZ5-XkoYsz4WmMSPz0Ao0wz3DlAUQve89KI26-44nc,4613
7
- examples/widgets/catalog_user/get_tech_type_elements.py,sha256=SvnDWfBIA1NzpkKZj4-ZapIeM2SEhe5jJt7rTkvTzaA,6129
8
- examples/widgets/catalog_user/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
9
- examples/widgets/catalog_user/list_assets.py,sha256=imVun2GB3zoEjaQxKJVGcalI7yZv5Dg_ksb7tYCIVLE,6476
10
- examples/widgets/catalog_user/list_glossary.py,sha256=zljSzVKYysFZVmVhHJt0fYFDmAG9azIphOs4MOIfA7g,5395
11
- examples/widgets/catalog_user/list_projects.py,sha256=PoXNBbDQ2KmPQG03z7cOykCJIYj3-6hJA0Rv9f8Bq84,6507
12
- examples/widgets/catalog_user/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
13
- examples/widgets/catalog_user/list_todos.py,sha256=wD9HevGcc4G_bxV25VUz1rRssdZHE33mF5zmJ6Lprt8,5522
14
- examples/widgets/cli/__init__.py,sha256=ReG7mIcm5c512S_z1UZIpMtE67zlO_zj-1HhHWYS4fI,30
15
- examples/widgets/cli/egeria.py,sha256=w-wc2rbIDdJLWVUzjfkXNEDzbeiVgA7PztNKMHQlf50,22172
16
- examples/widgets/cli/egeria_cat.py,sha256=chPU_MEYJQfxjCvutqC74YhvoebVLWom-Yn1B0fW6pk,9327
17
- examples/widgets/cli/egeria_ops.py,sha256=EuanN1lTi7OFL4xVUf5dmoBxBgcSAu51RzLG6AoCrqs,10115
18
- examples/widgets/cli/egeria_per.py,sha256=LTIH1f7MO8xzLNyIWlriN9a5dqrm1VzSHUCTLUro7E8,5677
19
- examples/widgets/cli/egeria_tech.py,sha256=r41wGCRhPK1KMJYFeoEifeq6OS3wTJ_zXMQPKZYeS68,8920
20
- examples/widgets/cli/ops_config.py,sha256=BPfiU2mZA61aA1p1DHRA5eLWH8qaAwgWNoRmazzAlM4,1398
21
- examples/widgets/operational/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
22
- examples/widgets/operational/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
23
- examples/widgets/operational/engine_actions.py,sha256=tvBhUs97OC3Q0FGSUVRskL9Q61c6NrLiNjdSH_04b_g,1444
24
- examples/widgets/operational/integration_daemon_actions.py,sha256=m17Oi8NJfs1qPaV6qRadse3HhLQT16FQA0jAIUYuCTk,3951
25
- examples/widgets/operational/list_catalog_targets.py,sha256=H0Igj_s7nhAV0vJUb0Np7DlJtAz36avljLBCuxt4p7Y,6609
26
- examples/widgets/operational/load_archive.py,sha256=duf3wq2ANRBiOj9KTFsw8TseEkJLKdzITAeTCjsMvI0,2453
27
- examples/widgets/operational/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDXefPBnllaZLelGls,3838
28
- examples/widgets/operational/monitor_coco_status.py,sha256=ERz3OJ0TXImNKHGD4gJvgT3pl2gS23ewAdUuYVLUhEE,3299
29
- examples/widgets/operational/monitor_engine_activity.py,sha256=5ceNWogsJqKTxerBRWK68T4Qr5OcqnqZF1ERqFnYbGk,7282
30
- examples/widgets/operational/monitor_gov_eng_status.py,sha256=cVRtA1Ub9uGf4fic1FnMwmzCwNEnU7joCqsjsiAZ7bg,5912
31
- examples/widgets/operational/monitor_integ_daemon_status.py,sha256=E3HO6ZCAv4CBZFHhxqpa7brRG3jfw3ZubwUkRfRySwo,8766
32
- examples/widgets/operational/monitor_platform_status.py,sha256=mgEeRjv2mIRBUxusHqeQGeoOp8Ehlk2IX-t3qtLKFqs,6123
33
- examples/widgets/operational/monitor_server_list.py,sha256=eHSeM5dW7Wyjp2zR_AD6_FalFnZ2dBaZKxtob2kva9I,4483
34
- examples/widgets/operational/monitor_server_status.py,sha256=A-8hMDfbscdcq-b1OD4wKn0tphumX8WIK-Hz8uPoFkc,3974
35
- examples/widgets/operational/refresh_integration_daemon.py,sha256=QDB3dpAlLY8PhrGhAZG4tWKzx_1R0bOOM048N68RQ4w,2712
36
- examples/widgets/operational/restart_integration_daemon.py,sha256=fID7qGFL5RD6rfn9PgXf5kwI4MU0Ho_IGXnDVbKT5nU,2710
37
- examples/widgets/personal/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
38
- examples/widgets/personal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- examples/widgets/personal/list_my_profile.py,sha256=WERjdQTCGhs8yz7Xa8xKlKRY1eJvB2Iz79lYJjB2h1U,5423
40
- examples/widgets/personal/list_my_roles.py,sha256=DCiNdnoHXQueUE5g73D3oRXfJ6LaUQGbibNtDRdicR8,5078
41
- examples/widgets/personal/monitor_my_todos.py,sha256=2INaUuKE5obKysoGzJLPUpc-oRJvQsx8_qoGtv_eBDI,6405
42
- examples/widgets/personal/monitor_open_todos.py,sha256=DIeWC-2tN1EtmgC2rWJfsGMVQhtNcngobJ8paBiXXBI,5396
43
- examples/widgets/personal/my_profile_actions.py,sha256=SrlC0PSix0b78MCWJdGJAVgai8gbJmYyz1ou2ZVOkIs,3949
44
- examples/widgets/tech/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
45
- examples/widgets/tech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
- examples/widgets/tech/get_guid_info.py,sha256=TSB6tUr2kJH5sIUc2TfGDPEi6ysb9c6TQ-Tp4sg0iyY,3945
47
- examples/widgets/tech/get_tech_details.py,sha256=b7i3kSTaZ2pZPcxkDccqY27bqeHJoYnPCxOvlKPH0hw,5753
48
- examples/widgets/tech/list_asset_types.py,sha256=PHPtCXqCHhIw0K59hUvoKdybp6IKPt_9Wc0AJVDtdrg,4181
49
- examples/widgets/tech/list_registered_services.py,sha256=TqZbT54vMGvHUAX_bovCce3A3eV_RbjSEtPP6u6ZJV0,6388
50
- examples/widgets/tech/list_relationship_types.py,sha256=0T8Sl7J3WFq_0IQLLzcL0T79pUxVENWNT95Cpjz2ukc,5633
51
- examples/widgets/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5ECkDJMN9QVNReC1M,6192
52
- examples/widgets/tech/list_valid_metadata_values.py,sha256=64z5tr-0VD-mPTFmr6FT76gj4MXJZLWTxT4oeIiUaiU,6043
53
- pyegeria/Xfeedback_manager_omvs.py,sha256=uNQMOPG08UyIuLzBfYt4uezDyLWdpBgJ2ZuvqumaWuY,9231
54
- pyegeria/Xloaded_resources_omvs.py,sha256=cseWZTIwNhkzhZ0fhujI66DslNAQcjuwsz_p1GRmSPQ,3392
55
- pyegeria/__init__.py,sha256=8qGKb9ff4JaEC16SkP-60yKMdkxEBF3aEJCSjR_OfPo,7611
56
- pyegeria/_client.py,sha256=mTK3qqaxwrwn4OiIKZkSkMVEsHPJsHxKmfz1LK_FgEg,26308
57
- pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
58
- pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
59
- pyegeria/_globals.py,sha256=DF6851qHPpoDrY4w5JGmT-8zmMfVXf9MMG6nKlu-BYM,616
60
- pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
61
- pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
62
- pyegeria/asset_catalog_omvs.py,sha256=ckEpASyz1yjiMyYtGh0teHdzEBRDOb52IReZdq8EMEo,25904
63
- pyegeria/automated_curation_omvs.py,sha256=7mBOXnq06zf1TB3vzo2FPUw2GRLZKKYT2MDQkPxDokk,121332
64
- pyegeria/collection_manager_omvs.py,sha256=aGtzC3P8_YgY2KEzhtO19_H9drStE0hW5hUj-dA7bLo,112649
65
- pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
66
- pyegeria/create_tech_guid_lists.py,sha256=jClpvURy20o4UV83LOwhGg3TZdHGzfjZ9y0MNZyG2To,4282
67
- pyegeria/full_omag_server_config.py,sha256=l4G0oM6l-axosYACypqNqzkF6wELzs9FgKJwvDMF0Fc,45817
68
- pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
69
- pyegeria/glossary_manager_omvs.py,sha256=AyTNBeOwa7ISOkpjzHHEtpiFzFo0ykcEQ525h_wqfMM,133328
70
- pyegeria/my_profile_omvs.py,sha256=2v692PIwNc0RlLYElpTXymPHtf8JyNDlJeDXJ6mLa08,42250
71
- pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I,41808
72
- pyegeria/project_manager_omvs.py,sha256=_U6m2vquu4eEV7aY8X3hsvfm2zX0EBica1reGWX9amY,77078
73
- pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
74
- pyegeria/runtime_manager_omvs.py,sha256=oSVFeG_yBGXIvQR0EClLZqTZ6C5z5ReZzwm8cce854U,37658
75
- pyegeria/server_operations.py,sha256=ZX7FlJRrAC7RK4bq4wHWepEsYbbWlqkUZdsJrTplVVU,16534
76
- pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
77
- pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
78
- pyegeria-0.6.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
79
- pyegeria-0.6.2.dist-info/METADATA,sha256=6LqLLZamte2ntj-7eo5bcWdTc6W_2UbsqbheSASfWJY,2686
80
- pyegeria-0.6.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
81
- pyegeria-0.6.2.dist-info/entry_points.txt,sha256=eFuCDIFhsa89FdYJZrSNdz4jq1ZYr9Ba4yCsCytagks,2826
82
- pyegeria-0.6.2.dist-info/RECORD,,
@@ -1,42 +0,0 @@
1
- [console_scripts]
2
- egeria_cat=examples.widgets.cli.egeria_cat:cli
3
- egeria_ops=examples.widgets.cli.egeria_ops:cli
4
- egeria_per=examples.widgets.cli.egeria_per:cli
5
- egeria_tech=examples.widgets.cli.egeria_cat:cli
6
- get_asset_graph=examples.widgets.catalog_user.get_asset_graph:main
7
- get_collection=examples.widgets.catalog_user.get_collection:main
8
- get_guid_info=examples.widgets.tech.get_guid_info:main
9
- get_tech_details=examples.widgets.tech.get_tech_details:main
10
- get_tech_type_elements=examples.widgets.catalog_user.get_tech_type_elements:main
11
- get_tech_type_template=examples.widgets.catalog_user.get_tech_type_template:main
12
- hey_egeria=examples.widgets.cli.egeria:cli
13
- list_asset_types=examples.widgets.tech.list_asset_types:main
14
- list_assets=examples.widgets.catalog_user.list_assets:main
15
- list_catalog_targets=examples.widgets.operational.list_catalog_targets:main
16
- list_engine_activity=examples.widgets.operational.monitor_engine_activity:main_paging
17
- list_glossary=examples.widgets.catalog_user.list_glossary:main
18
- list_gov_eng_status=examples.widgets.operational.monitor_gov_eng_status:main_paging
19
- list_integ_daemon_status=examples.widgets.operational.monitor_integ_daemon_status:main_paging
20
- list_my_profile=examples.widgets.personal.list_my_profile:main
21
- list_projects=examples.widgets.catalog_user.list_projects:main
22
- list_registered_services=examples.widgets.tech.list_registered_services:main
23
- list_relationship_types=examples.widgets.tech.list_relationship_types:main
24
- list_tech_templates=examples.widgets.tech.list_tech_templates:main
25
- list_tech_types=examples.widgets.catalog_user.list_tech_types:main
26
- list_todos=examples.widgets.catalog_user.list_todos:main
27
- list_valid_metadata_values=examples.widgets.tech.list_valid_metadata_values:main
28
- load_archive=examples.widgets.operational.load_archive:load_archive
29
- load_archive_tui=examples.widgets.operational.load_archive:tui
30
- monitor_asset_events=examples.widgets.operational.monitor_asset_events:main
31
- monitor_coco_status=examples.widgets.operational.monitor_coco_status:main
32
- monitor_engine_activity=examples.widgets.operational.monitor_engine_activity:main_live
33
- monitor_gov_eng_status=examples.widgets.operational.monitor_gov_eng_status:main_live
34
- monitor_integ_daemon_status=examples.widgets.operational.monitor_integ_daemon_status:main_live
35
- monitor_my_todos=examples.widgets.personal.monitor_my_todos:main
36
- monitor_open_todos=examples.widgets.personal.monitor_open_todos:main
37
- monitor_platform_status=examples.widgets.operational.monitor_platform_status:main
38
- monitor_server_list=examples.widgets.operational.monitor_server_list:main
39
- monitor_server_status=examples.widgets.operational.monitor_server_status:main
40
- refresh_integration_daemon=examples.widgets.operational.refresh_integration_daemon:main
41
- restart_integration_daemon=examples.widgets.operational.restart_integration_daemon:main
42
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes